diff options
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/usb_serial.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wirish/usb_serial.cpp b/wirish/usb_serial.cpp index a01900f..cfc6317 100644 --- a/wirish/usb_serial.cpp +++ b/wirish/usb_serial.cpp @@ -58,8 +58,7 @@ void USBSerial::end(void) { } void USBSerial::write(uint8 ch) { - const uint8 buf[] = {ch}; - this->write(buf, 1); + this->write(&ch, 1); } void USBSerial::write(const char *str) { |