sr: fix sr_filter_probes() to use probe numbers starting from 0
authorBert Vermeulen <bert@biot.com>
Mon, 23 Jul 2012 00:57:17 +0000 (02:57 +0200)
committerBert Vermeulen <bert@biot.com>
Fri, 3 Aug 2012 09:28:59 +0000 (11:28 +0200)
commitfb749458360fdf3d759d231e7684b3c86358d233
tree76744fe6d5eb376b94899455703ae7ca4af007ad
parentf0390974d85fe1ab23c99a47b9282925e8db05cf
sr: fix sr_filter_probes() to use probe numbers starting from 0

The probelist parameter is now terminated with -1, since 0 is a valid
probe number.
libsigrok/filter.c