Change in simtrace2[master]: card_emu: waiting_time is stored in etu, not clocks.

laforge gerrit-no-reply at lists.osmocom.org
Thu Apr 8 21:28:37 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/23637 )

Change subject: card_emu: waiting_time is stored in etu, not clocks.
......................................................................

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
---
M firmware/libcommon/source/card_emu.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 	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 {

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/23637
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I2bc4a7c19cee5fb487ad639ee48ecaea706f6172
Gerrit-Change-Number: 23637
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: tsaitgaist <kredon at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210408/239186a4/attachment.htm>


More information about the gerrit-log mailing list