aboutsummaryrefslogtreecommitdiff
path: root/cores/robot/USBAPI.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-07-26 13:50:34 +0200
committerCristian Maglie <c.maglie@bug.st>2013-07-26 13:50:34 +0200
commitcddc83bb19e760145ea312f187371f44a6a921e8 (patch)
tree0a333c9dd46dd144580fb4a18c7aaecb214535a7 /cores/robot/USBAPI.h
parent090d53a74e1ebe256523608c4b7fd90304d611b9 (diff)
Applied HardwareSerial updates to robot's core.
Diffstat (limited to 'cores/robot/USBAPI.h')
-rw-r--r--cores/robot/USBAPI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cores/robot/USBAPI.h b/cores/robot/USBAPI.h
index eb2e593..1a4183b 100644
--- a/cores/robot/USBAPI.h
+++ b/cores/robot/USBAPI.h
@@ -25,6 +25,8 @@ extern USBDevice_ USBDevice;
//================================================================================
// Serial over CDC (Serial1 is the physical port)
+struct ring_buffer;
+
class Serial_ : public Stream
{
private:
@@ -193,4 +195,4 @@ void USB_Flush(uint8_t ep);
#endif
-#endif /* if defined(USBCON) */ \ No newline at end of file
+#endif /* if defined(USBCON) */