Initialize trig_num to -1 and handle trig_num=0 as a valid id.
Fixes:
|
||
|---|---|---|
| .. | ||
| iio_event_monitor.c | ||
| iio_generic_buffer.c | ||
| iio_utils.c | ||
| iio_utils.h | ||
| lsiio.c | ||
| Makefile | ||
Initialize trig_num to -1 and handle trig_num=0 as a valid id.
Fixes:
|
||
|---|---|---|
| .. | ||
| iio_event_monitor.c | ||
| iio_generic_buffer.c | ||
| iio_utils.c | ||
| iio_utils.h | ||
| lsiio.c | ||
| Makefile | ||