Hi chrysn, I independently fixed the same bug with a very similar fix. It does indeed simplify the code a lot.
I worked on the Debian version of the decoder, so it is quite old. The current version (yours) being much better. I'll try it out this weekend and let you know. For reference, my patch is at https://gist.github.com/steveschnepp/dbac6e918043d4efd0336763c070feaf/revisions (I wasn't subscribed to the list before) -- Steve SCHNEPP
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel