diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-04-16 18:19:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-04-16 18:20:53 +0200 |
commit | 255da5ed24f90fef2640cf21bf831999ef506b6e (patch) | |
tree | 7e2a8aa20b5c8be9a81d33bd16cccc1b5f7441fb | |
parent | 5af7c8c36b4cc49e1ecf7acf13295a02c42bc7fd (diff) |
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
-rw-r--r-- | sysmoOCTSIM/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ static void board_init() 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(); |