Call SpiNorFlash::WakeUp() during initialization to ensure that the chip is not is sleep mode.

This commit is contained in:
JF 2020-09-20 14:31:26 +02:00
parent 8d2e56bf00
commit 6f92356873
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ void SystemTask::Work() {
spi.Init();
spiNorFlash.Init();
spiNorFlash.Wakeup();
nimbleController.Init();
nimbleController.StartAdvertising();
lcd.Init();

View File

@ -79,6 +79,7 @@ void Process(void* instance) {
NRF_LOG_INFO("Init...");
spi.Init();
spiNorFlash.Init();
spiNorFlash.Wakeup();
brightnessController.Init();
lcd.Init();
gfx.Init();