Skip to content

Commit

Permalink
Move serialEvent fix to dummy interface
Browse files Browse the repository at this point in the history
Accidentally put it in the *real* interface block. Whoops...
  • Loading branch information
dmadison committed Feb 11, 2024
1 parent 7d66733 commit 4381002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teensy/avr/cores/teensy4/usb_serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ class usb_serial_class : public Stream
};
// Serial provides USB Virtual Serial communication with your computer.
extern usb_serial_class Serial;
extern void serialEvent(void) __attribute__((weak));
#endif // __cplusplus

#else // !defined(USB_DISABLED)
Expand Down Expand Up @@ -224,6 +223,7 @@ class usb_serial_class : public Stream
};

extern usb_serial_class Serial;
extern void serialEvent(void) __attribute__((weak));
#endif // __cplusplus

#endif // !defined(USB_DISABLED)
Expand Down

0 comments on commit 4381002

Please sign in to comment.