mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-24 03:01:08 +02:00
tools/lib/atusb.c (atusb_interrupt): if we have an error, report it immediately
This commit is contained in:
parent
39319e145a
commit
5dd2b4ae58
@ -224,6 +224,7 @@ static int atusb_interrupt(void *dsc)
|
|||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
fprintf(stderr, "ATUSB_POLL_INT: %d\n", res);
|
fprintf(stderr, "ATUSB_POLL_INT: %d\n", res);
|
||||||
error = 1;
|
error = 1;
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user