On Fri, Mar 29, 2019 at 5:19 PM Uwe Hermann <u...@hermann-uwe.de> wrote: > > There was a similar one for this recently, see > https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=1c0e1baaaaf0314f49470fb49a4f5e6ddc0ba1a1 > > Please test if that works fine for your device as well.
I talked with Frank some days ago about this. Didn't saw that he already send this to you. Something like this was also my first approach. So this is already tested :) > We've had a quick discussion about the approach on IRC, we can't > guarantee that there aren't any other (valid) suffixes for those > strings, hence why we'd rather avoid the strncmp() method. > > Also, having an explicit list in the driver gives us a nice overview > of which device strings actually exist out there. Yes, this two points are reasonable. ~ Nico _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel