Sending timeout command.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-03-03 00:48:42 +01:00
parent 96f2dab74b
commit 86613453ae

View File

@@ -196,17 +196,15 @@ static int usb_event_handle(uint8_t itf) {
timeout_start();
}
else {
#ifndef ENABLE_EMULATION
#ifdef USB_ITF_HID
if (itf == ITF_HID) {
driver_process_usb_nopacket_hid();
}
#endif
#ifdef USB_ITF_CCID
if (itf == ITF_CCID) {
driver_process_usb_nopacket_ccid();
}
#endif
//if (itf == ITF_CCID) {
// driver_process_usb_nopacket_ccid();
//}
#endif
}
return 0;