aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-04-05 16:56:54 +0200
committerlaforge <laforge@osmocom.org>2021-04-08 21:28:37 +0000
commit9c95162d5c5df4235b05e59874e118f3edcce83e (patch)
treef5497ab04e631b34a491350ef260570780d35319
parent878fadd74fca27759a9635534bbeeb2fcf2536c4 (diff)
card_emu: waiting_time is stored in etu, not clocks.
The comment didn't reflect the source. I checked all users and the code consistently stores the waiting time in units of 'etu'. Change-Id: I2bc4a7c19cee5fb487ad639ee48ecaea706f6172
-rw-r--r--firmware/libcommon/source/card_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/libcommon/source/card_emu.c b/firmware/libcommon/source/card_emu.c
index 269c7c6..5ab6cab 100644
--- a/firmware/libcommon/source/card_emu.c
+++ b/firmware/libcommon/source/card_emu.c
@@ -165,7 +165,7 @@ struct card_handle {
uint8_t in_ep; /* USB IN EP */
uint8_t irq_ep; /* USB IN EP */
- uint32_t waiting_time; /* in clocks */
+ uint32_t waiting_time; /* in etu */
/* ATR state machine */
struct {