Harald Welte has uploaded this change for review. (
https://gerrit.osmocom.org/13666
Change subject: main.c: Call ncn8025_init also for SIM7
......................................................................
main.c: Call ncn8025_init also for SIM7
The ncn8025 has no impact on the UART, so no matter if we use
SERCOM7 as debug uart or as SIM UART, we can always initialize
the NCN8025 and thereby allow control of (e.g.) the LED.
Change-Id: I70ae1e050d5540627bc77626dbf1b6040e95dae4
---
M sysmoOCTSIM/main.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware
refs/changes/66/13666/1
diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index dc67406..9dee504 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -39,8 +39,7 @@
for (i = 0; i < 4; i++)
i2c_init(&i2c[i]);
- /* only 7 slots, as last slot is debug uart! */
- for (i = 0; i < 7; i++)
+ for (i = 0; i < 8; i++)
ncn8025_init(i);
cache_init();
--
To view, visit https://gerrit.osmocom.org/13666
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70ae1e050d5540627bc77626dbf1b6040e95dae4
Gerrit-Change-Number: 13666
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <[email protected]>