Skip to content

Commit ae4427f

Browse files
committed
Fixed compile problem for Leonardo after 0bd6a2d
1 parent f50372a commit ae4427f

File tree

1 file changed

+3
-1
lines changed
  • hardware/arduino/avr/cores/arduino

1 file changed

+3
-1
lines changed

hardware/arduino/avr/cores/arduino/USBAPI.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ extern USBDevice_ USBDevice;
2525
//================================================================================
2626
// Serial over CDC (Serial1 is the physical port)
2727

28+
struct ring_buffer;
29+
2830
class Serial_ : public Stream
2931
{
3032
private:
@@ -193,4 +195,4 @@ void USB_Flush(uint8_t ep);
193195

194196
#endif
195197

196-
#endif /* if defined(USBCON) */
198+
#endif /* if defined(USBCON) */

0 commit comments

Comments
 (0)