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 <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-10-02 21:41:36 -04:00
parent efd9e7a6df
commit 7c7573f69f
1 changed files with 0 additions and 7 deletions

View File

@ -241,10 +241,3 @@ ISR(USB_COM_vect)
}
UENUM = old_uenum;
}
void
usbserial_shutdown(void)
{
UEIENX = 1<<RXSTPE;
}
DECL_SHUTDOWN(usbserial_shutdown);