mirror of
https://github.com/LedgerHQ/openpgp-card-app
synced 2024-11-09 07:10:30 +00:00
fix apdu state machine end after response apdu is sent
This commit is contained in:
parent
c07cb00cb6
commit
fafc85c324
@ -137,6 +137,9 @@ void CCID_BulkMessage_In (USBD_HandleTypeDef *pdev,
|
|||||||
|
|
||||||
/* Prepare EP to Receive First Cmd */
|
/* Prepare EP to Receive First Cmd */
|
||||||
// not timeout compliant // USBD_LL_PrepareReceive(pdev, CCID_BULK_OUT_EP, CCID_BULK_EPOUT_SIZE);
|
// not timeout compliant // USBD_LL_PrepareReceive(pdev, CCID_BULK_OUT_EP, CCID_BULK_EPOUT_SIZE);
|
||||||
|
|
||||||
|
// mark transfer as completed
|
||||||
|
G_io_apdu_state = APDU_IDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if remaining length is < EPIN_SIZE: send packet and prepare to receive a new command
|
// if remaining length is < EPIN_SIZE: send packet and prepare to receive a new command
|
||||||
|
Loading…
Reference in New Issue
Block a user