]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Do not reset drv_context.instances on scan.
authorDaniel Elstner <redacted>
Thu, 23 Jan 2014 00:24:29 +0000 (01:24 +0100)
committerDaniel Elstner <redacted>
Thu, 23 Jan 2014 01:36:13 +0000 (02:36 +0100)
commit50cad98d1ba595d6e2da900dbe212b293a058189
tree672f700c2b3780bc6631b8c6615aef6ef48daf86
parent99c76642aa8d3c75bef4ef3927b4c4cf45461892
sysclk-lwla: Do not reset drv_context.instances on scan.

Apparently, frontends may call scan() more than once to accumulate
multiple devices, so do not reset the instance list pointer at the
start of each scan.  Also, number devices continuously across scans.
hardware/sysclk-lwla/api.c