Fix alternating CCID and HID. (IT DOES NOT WORK)

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-12-30 21:34:10 +01:00
parent bc107de1b9
commit 2d511df5d8

View File

@@ -229,6 +229,7 @@ extern const uint8_t fido_aid[];
int driver_process_usb_packet_hid(uint16_t read) {
int apdu_sent = 0;
apdu.sw = 0;
if (read >= 5) {
driver_init_hid();
last_packet_time = board_millis();