Skip to content

Commit 81b1b08

Browse files
committed
Fix return type
1 parent 3852552 commit 81b1b08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

STM32F1/cores/maple/usb_serial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ uint8 USBSerial::getRTS(void) {
186186
return usb_cdcacm_get_rts();
187187
}
188188

189-
uint8 USBSerial::operator bool() {
189+
USBSerial::operator bool() {
190190
return usb_is_connected(USBLIB) && usb_is_configured(USBLIB) && usb_cdcacm_get_dtr();
191191
}
192192

0 commit comments

Comments
 (0)