mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:55:19 +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) {
|
||||
fprintf(stderr, "ATUSB_POLL_INT: %d\n", res);
|
||||
error = 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return buf;
|
||||
|
Loading…
Reference in New Issue
Block a user