From 01b928c0ec891909a05cdf7d86262a90a6b4e72a Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Mon, 16 Sep 2019 17:12:09 +0800 Subject: [PATCH] allow in bootloader as well --- fido2/ctaphid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fido2/ctaphid.c b/fido2/ctaphid.c index 3e34516..de96cab 100644 --- a/fido2/ctaphid.c +++ b/fido2/ctaphid.c @@ -729,6 +729,7 @@ uint8_t ctaphid_handle_packet(uint8_t * pkt_raw) ctaphid_write(&wb, NULL, 0); is_busy = 0; break; +#endif case CTAPHID_GETVERSION: printf1(TAG_HID,"CTAPHID_GETVERSION\n"); @@ -744,7 +745,6 @@ uint8_t ctaphid_handle_packet(uint8_t * pkt_raw) ctaphid_write(&wb, NULL, 0); is_busy = 0; break; -#endif default: printf2(TAG_ERR,"error, unimplemented HID cmd: %02x\r\n", buffer_cmd());