From 7c7573f69f3068d61dd6c12d25b265045fb54787 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 2 Oct 2018 21:41:36 -0400 Subject: [PATCH] avr: No need to reset ep0 interrupts on a shutdown The usb_cdc code will arrange to call usb_read_ep0_setup() after a shutdown, so no need to have an explicit shutdown handler. Signed-off-by: Kevin O'Connor --- src/avr/usbserial.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/avr/usbserial.c b/src/avr/usbserial.c index 188a1b14..6ee60841 100644 --- a/src/avr/usbserial.c +++ b/src/avr/usbserial.c @@ -241,10 +241,3 @@ ISR(USB_COM_vect) } UENUM = old_uenum; } - -void -usbserial_shutdown(void) -{ - UEIENX = 1<