Adding support for clientPIN.

It does not pass the tests yet.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-09-19 17:20:52 +02:00
parent 68f43f3cb2
commit 847005d94f
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -120,7 +120,6 @@ void tud_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t rep
(void) itf;
(void) report_id;
(void) report_type;
printf("set report\n");
usb_rx(buffer, bufsize);
}
@ -253,7 +252,7 @@ int driver_process_usb_packet(uint16_t read) {
}
// echo back anything we received from host
//tud_hid_report(0, buffer, bufsize);
printf("END\n");
//printf("END\n");
usb_clear_rx();
}
return apdu_sent;