Adds class implementation for use STM32F4xx OTG_HS in FS mode
Fork of USBDevice by
Diff: USBSerial/USBSerial.cpp
- Revision:
- 64:c7639faed2eb
- Parent:
- 11:eeb3cbbaa996
--- a/USBSerial/USBSerial.cpp Wed Apr 02 21:00:41 2014 +0100 +++ b/USBSerial/USBSerial.cpp Mon Apr 28 12:15:41 2014 +0000 @@ -67,3 +67,7 @@ uint8_t USBSerial::available() { return buf.available(); } + +bool USBSerial::connected() { + return terminal_connected; +}