mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-11 21:08:16 +02:00
Fix ccid write with offset.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -302,7 +302,7 @@ void driver_exec_finished_ccid(uint8_t itf, uint16_t size_next) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void driver_exec_finished_cont_ccid(uint8_t itf, uint16_t size_next, uint16_t offset) {
|
void driver_exec_finished_cont_ccid(uint8_t itf, uint16_t size_next, uint16_t offset) {
|
||||||
//ccid_response[itf] = (ccid_header_t *) (ccid_tx[itf].buffer + ccid_tx[itf].w_ptr + offset);
|
ccid_response[itf] = (ccid_header_t *) (ccid_tx[itf].buffer + ccid_tx[itf].w_ptr + offset);
|
||||||
ccid_response[itf]->bMessageType = CCID_DATA_BLOCK_RET;
|
ccid_response[itf]->bMessageType = CCID_DATA_BLOCK_RET;
|
||||||
ccid_response[itf]->dwLength = size_next;
|
ccid_response[itf]->dwLength = size_next;
|
||||||
ccid_response[itf]->bSlot = 0;
|
ccid_response[itf]->bSlot = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user