Fix return type

This commit is contained in:
SukkoPera 2017-04-18 23:25:36 +02:00
parent 38525521fd
commit 81b1b08b95
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ uint8 USBSerial::getRTS(void) {
return usb_cdcacm_get_rts();
}
uint8 USBSerial::operator bool() {
USBSerial::operator bool() {
return usb_is_connected(USBLIB) && usb_is_configured(USBLIB) && usb_cdcacm_get_dtr();
}