aboutsummaryrefslogtreecommitdiff
path: root/firmwares/arduino-usbserial/Arduino-usbserial.c
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-11-29 23:26:54 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2010-11-29 23:26:54 -0500
commit4fefe032a53667cba2b801d0cc5f021b3d457ddd (patch)
tree46ab2b6c746496fbb18278c14118b129ae7cd9fb /firmwares/arduino-usbserial/Arduino-usbserial.c
parent4a90c4bd405acc874239d82511a35c377b494dff (diff)
Fixing Linux UNO serial bug (thanks to Dean Camera).
Enabling INTERRUPT_CONTROL_ENDPOINT in the makefile so we don't miss control messages from Linux. Also deleted two unused USB events to save a few bytes of space (the Mega 2560 .hex is now exactly 4096 bytes).
Diffstat (limited to 'firmwares/arduino-usbserial/Arduino-usbserial.c')
-rwxr-xr-xfirmwares/arduino-usbserial/Arduino-usbserial.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/firmwares/arduino-usbserial/Arduino-usbserial.c b/firmwares/arduino-usbserial/Arduino-usbserial.c
index 181ffc7..a2bdfb1 100755
--- a/firmwares/arduino-usbserial/Arduino-usbserial.c
+++ b/firmwares/arduino-usbserial/Arduino-usbserial.c
@@ -150,18 +150,6 @@ void SetupHardware(void)
AVR_RESET_LINE_DDR |= AVR_RESET_LINE_MASK;
}
-/** Event handler for the library USB Connection event. */
-void EVENT_USB_Device_Connect(void)
-{
-
-}
-
-/** Event handler for the library USB Disconnection event. */
-void EVENT_USB_Device_Disconnect(void)
-{
-
-}
-
/** Event handler for the library USB Configuration Changed event. */
void EVENT_USB_Device_ConfigurationChanged(void)
{