diff --git a/src/usb/hid/hid.c b/src/usb/hid/hid.c index 51108ad..9af2c29 100644 --- a/src/usb/hid/hid.c +++ b/src/usb/hid/hid.c @@ -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();