Hi,

On Mon, Jul 11, 2016 at 04:08:21PM +0000, Mike Meyer wrote:
> Using a flag value and testing by array size is a code smell. Either
> deleting the flag value so the array has the right size, or the test shold
> just be for dev_profiles[j].orig_vid (as done in hantek_dso/api.c).
> 
> I did the latter, and sure enough it quit finding those oscilloscopes.

Merged, thanks. Untested on hardware by me, but the fix looks correct
indeed.


Cheers, Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to