APDU header is defined at apdu_processing, depending on the interface.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-12-22 20:38:34 +01:00
parent 4682e5821f
commit 3310b911fc
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -119,7 +119,7 @@ struct ccid_header *ccid_header;
int driver_init_ccid() {
ccid_header = (struct ccid_header *)usb_get_rx(ITF_CCID);
apdu.header = &ccid_header->apdu;
// apdu.header = &ccid_header->apdu;
ccid_response = (struct ccid_header *)usb_get_tx(ITF_CCID);