Merge pull request #36 from oto-ledger/master

fix apdu state machine end after response apdu is sent
This commit is contained in:
oto 2018-09-26 10:09:32 +02:00 committed by GitHub
commit 80ee7ef8d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,9 @@ void CCID_BulkMessage_In (USBD_HandleTypeDef *pdev,
/* Prepare EP to Receive First Cmd */
// 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