Change in osmo-ccid-firmware[master]: add some volatility to debug missing state changes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Nov 28 15:23:44 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16281 )

Change subject: add some volatility to debug missing state changes
......................................................................

add some volatility to debug missing state changes

Change-Id: I2e12e32ad27b03d73ba3533903c34abc2fcce37a
---
M sysmoOCTSIM/main.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 54616af..02b7b09 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -101,7 +101,7 @@
 	/* bit-mask of card-insert status, as determined from NCN8025 IRQ output */
 	uint8_t card_insert_mask;
 };
-static struct ccid_state g_ccid_s;
+static volatile struct ccid_state g_ccid_s;
 
 static void ccid_out_read_compl(const uint8_t ep, enum usb_xfer_code code, uint32_t transferred);
 static void ccid_in_write_compl(const uint8_t ep, enum usb_xfer_code code, uint32_t transferred);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16281
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I2e12e32ad27b03d73ba3533903c34abc2fcce37a
Gerrit-Change-Number: 16281
Gerrit-PatchSet: 4
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191128/432393bf/attachment.htm>


More information about the gerrit-log mailing list