mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 12:59:21 +02:00
tools/lib/atusb-common.c (atusb_tx): fix compiler warning
Tried to return value in void function.
This commit is contained in:
parent
42f1a78807
commit
155886ddcb
@ -357,7 +357,7 @@ void atusb_tx(void *handle, const void *buf, int size)
|
||||
if (res < 0) {
|
||||
fprintf(stderr, "usb_bulk_read: %d\n", res);
|
||||
dsc->error = 1;
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
if (tmp)
|
||||
fprintf(stderr, "atusb_tx: ACK is non-zero 0x%02x\n", tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user