stm32/usb: Remove mp_hal_set_interrupt_char now that it's reset at boot.

This commit is contained in:
Damien George 2019-05-01 13:08:05 +10:00
parent 2459162599
commit ff0306dfa5

View File

@ -115,7 +115,6 @@ void pyb_usb_init0(void) {
#if MICROPY_HW_USB_ENABLE_CDC2 #if MICROPY_HW_USB_ENABLE_CDC2
usb_device.usbd_cdc2_itf.attached_to_repl = false; usb_device.usbd_cdc2_itf.attached_to_repl = false;
#endif #endif
mp_hal_set_interrupt_char(-1);
MP_STATE_PORT(pyb_hid_report_desc) = MP_OBJ_NULL; MP_STATE_PORT(pyb_hid_report_desc) = MP_OBJ_NULL;
} }