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
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

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();