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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26395 ) Change subject: sim slots: omit interrupt disabling for status polling ...................................................................... sim slots: omit interrupt disabling for status polling Doesn't matter here, we don't care if we get interrupted. Change-Id: I8f32ad446438ef7776cc8a4aac1946f1a39a8ceb --- M sysmoOCTSIM/ncn8025.c 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/sysmoOCTSIM/ncn8025.c b/sysmoOCTSIM/ncn8025.c index 74d3b39..04d0ebe 100644 --- a/sysmoOCTSIM/ncn8025.c +++ b/sysmoOCTSIM/ncn8025.c @@ -98,7 +98,9 @@ bool ncn8025_interrupt_level(uint8_t slot) { uint8_t pin = slot2int_pin(slot); - return gpio_get_pin_level(pin); + uint32_t pin_values = hri_port_read_IN_reg(PORT, GPIO_PORT(pin)); + + return (bool)(pin_values & (0x01U << GPIO_PIN(pin))); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26395 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: I8f32ad446438ef7776cc8a4aac1946f1a39a8ceb Gerrit-Change-Number: 26395 Gerrit-PatchSet: 3 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/20211130/dfc2d965/attachment.htm>