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/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Wed Nov 27 18:44:12 UTC 2019


Hoernchen has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/81/16281/1

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: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191127/29adf608/attachment.htm>


More information about the gerrit-log mailing list