From 86613453ae5a58377b61d774cb82b4889d5deb51 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Fri, 3 Mar 2023 00:48:42 +0100 Subject: [PATCH] Sending timeout command. Signed-off-by: Pol Henarejos --- src/usb/usb.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/usb/usb.c b/src/usb/usb.c index 7e4d6f1..22465da 100644 --- a/src/usb/usb.c +++ b/src/usb/usb.c @@ -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;