[XS] Change in osmo-ccid-firmware[master]: After initialisation: turn system led on
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email ) Change subject: After initialisation: turn system led on ...................................................................... After initialisation: turn system led on Related: OS#5158 Change-Id: Ide37ea32648536d333bd5051b142eb15959d29bf --- M sysmoOCTSIM/main.c 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/23/42223/1 diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c index fe569fd..d5f4a51 100644 --- a/sysmoOCTSIM/main.c +++ b/sysmoOCTSIM/main.c @@ -616,6 +616,11 @@ ccid_eps_enable(); } +static inline void led_system_set(bool state) +{ + gpio_set_pin_level(LED_SYSTEM, state); +} + int main(void) { osmo_set_panic_handler(&bdg_bkptpanic); @@ -716,6 +721,7 @@ #endif // command_print_prompt(); + led_system_set(true); while (true) { // main loop if (was_unconfigured_flag) { reset_all_stuff_non_irq(); -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: Ide37ea32648536d333bd5051b142eb15959d29bf Gerrit-Change-Number: 42223 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>
participants (1)
-
lynxis lazus