diff options
Diffstat (limited to 'wirish/usb_serial.cpp')
-rw-r--r-- | wirish/usb_serial.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wirish/usb_serial.cpp b/wirish/usb_serial.cpp index 9476e99..fe88d6e 100644 --- a/wirish/usb_serial.cpp +++ b/wirish/usb_serial.cpp @@ -65,7 +65,8 @@ uint32 USBSerial::read(void *buf, uint32 len) { uint8 USBSerial::read(void) { uint8 ch; - return usbReceiveBytes(&ch, 1); + usbReceiveBytes(&ch, 1); + return ch; } USBSerial SerialUSB; |