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 <ew...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: merged

Reply via email to