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