Skip to content

Commit

Permalink
Update seader_ccid_SetParameters arguements
Browse files Browse the repository at this point in the history
  • Loading branch information
bettse committed Jul 25, 2024
1 parent 3b1e721 commit b98f39d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ccid.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ void seader_ccid_GetSlotStatus(SeaderUartBridge* seader_uart, uint8_t slot) {
furi_thread_flags_set(furi_thread_get_id(seader_uart->tx_thread), WorkerEvtSamRx);
}

void seader_ccid_SetParameters(SeaderUartBridge* seader_uart) {
void seader_ccid_SetParameters(Seader* seader, uint8_t slot, uint8_t* atr, size_t atr_len) {
SeaderWorker* seader_worker = seader->worker;
SeaderUartBridge* seader_uart = seader_worker->uart;
UNUSED(slot);
UNUSED(atr);
UNUSED(atr_len);
uint8_t T1 = 1;
memset(seader_uart->tx_buf, 0, SEADER_UART_RX_BUF_SIZE);
seader_uart->tx_buf[0] = SYNC;
Expand Down
2 changes: 1 addition & 1 deletion ccid.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct CCID_Message {
void seader_ccid_check_for_sam(SeaderUartBridge* seader_uart);
void seader_ccid_IccPowerOn(SeaderUartBridge* seader_uart, uint8_t slot);
void seader_ccid_GetSlotStatus(SeaderUartBridge* seader_uart, uint8_t slot);
void seader_ccid_SetParameters(SeaderUartBridge* seader_uart);
void seader_ccid_SetParameters(Seader* seader, uint8_t slot, uint8_t* atr, size_t atr_len);
void seader_ccid_GetParameters(SeaderUartBridge* seader_uart);
void seader_ccid_XfrBlock(SeaderUartBridge* seader_uart, uint8_t* data, size_t len);
void seader_ccid_XfrBlockToSlot(
Expand Down

0 comments on commit b98f39d

Please sign in to comment.