sr: s/SR_{USB,SERIAL}_INST/SR_INST_{USB,SERIAL}/.
This commit is contained in:
parent
4502e86921
commit
4101f961e8
|
@ -691,7 +691,8 @@ static int receive_data(int fd, int revents, void *cb_data)
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue