Refactor comment for clarity on time base synchronization

Condensed comment about keeping the absolute transfer scheduler in sync with the time base.

Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
Antiklesys
2026-08-31 03:19:02 +08:00
committed by GitHub
parent e5f6f39a04
commit d4c68ec9fb
+1 -5
View File
@@ -366,11 +366,7 @@ static int sam_sc_card_api_loop(uint8_t *response, uint16_t *response_len,
}
if (iso14a) {
switch_clock_to_countsspclk();
// This counter is reset for the RF exchange so the SAM
// path can return to millisecond ticks afterwards. Keep
// ISO14443A's absolute transfer scheduler in the same
// time base; otherwise it waits on a stale timestamp
// from the preceding Card-API APDU.
//Keep absolute transfer scheduler in the same time base; so it doesn't wait on a stale timestamp from the preceding Card-API APDU.
iso14a_rebase_transfer_time();
int apdu_len = iso14_apdu((uint8_t *)op_value, op_len, false,
nfc_rx, sizeof(nfc_rx), NULL);