};
static struct sr_samplerates samplerates = {
- SR_HZ(100),
- SR_MHZ(200),
- SR_HZ(0),
+ 0,
+ 0,
+ 0,
supported_samplerates,
};
double analog_out[1024];
size_t i, s;
- revents = revents;
+ /* Avoid compiler warnings. */
+ (void)revents;
s = serial_read(fd, in, sizeof(in));
if (s <= 0)