diff options
| author | JF <jf@codingfield.com> | 2020-09-20 12:31:26 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-09-20 12:31:26 (GMT) |
| commit | 6f923568732f42858e037c9ab19acca41cb7233f (patch) | |
| tree | b29b718f91beb15fec79e44d2bc0a317d50606f7 /src/SystemTask/SystemTask.cpp | |
| parent | 8d2e56bf00281bb44d7c4a8a903215c62ddff510 (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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp index 222829d..a4e6356 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(); |
