Call SpiNorFlash::WakeUp() during initialization to ensure that the chip is not is sleep mode.
This commit is contained in:
@@ -58,6 +58,7 @@ void SystemTask::Work() {
|
||||
|
||||
spi.Init();
|
||||
spiNorFlash.Init();
|
||||
spiNorFlash.Wakeup();
|
||||
nimbleController.Init();
|
||||
nimbleController.StartAdvertising();
|
||||
lcd.Init();
|
||||
|
@@ -79,6 +79,7 @@ void Process(void* instance) {
|
||||
NRF_LOG_INFO("Init...");
|
||||
spi.Init();
|
||||
spiNorFlash.Init();
|
||||
spiNorFlash.Wakeup();
|
||||
brightnessController.Init();
|
||||
lcd.Init();
|
||||
gfx.Init();
|
||||
|
Reference in New Issue
Block a user