From 814c9aec0f1e4ffd6e2c37707fd62f68af20796e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 5 Apr 2021 16:56:54 +0200 Subject: [PATCH] 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 --- firmware/libcommon/source/card_emu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/libcommon/source/card_emu.c b/firmware/libcommon/source/card_emu.c index 269c7c6d..5ab6cab5 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 {