summaryrefslogtreecommitdiff
path: root/src/SystemTask/SystemTask.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-09-20 14:31:26 +0200
committerJF <jf@codingfield.com>2020-09-20 14:31:26 +0200
commit6f923568732f42858e037c9ab19acca41cb7233f (patch)
treeb29b718f91beb15fec79e44d2bc0a317d50606f7 /src/SystemTask/SystemTask.cpp
parent8d2e56bf00281bb44d7c4a8a903215c62ddff510 (diff)
Call SpiNorFlash::WakeUp() during initialization to ensure that the chip is not is sleep mode.
Diffstat (limited to 'src/SystemTask/SystemTask.cpp')
-rw-r--r--src/SystemTask/SystemTask.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp
index 222829d4..a4e63560 100644
--- a/src/SystemTask/SystemTask.cpp
+++ b/src/SystemTask/SystemTask.cpp
@@ -58,6 +58,7 @@ void SystemTask::Work() {
spi.Init();
spiNorFlash.Init();
+ spiNorFlash.Wakeup();
nimbleController.Init();
nimbleController.StartAdvertising();
lcd.Init();