diff options
| author | JF <jf@codingfield.com> | 2020-08-11 15:50:00 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-08-11 15:50:00 (GMT) |
| commit | bbfc20c3ff4b741cd21b162389905a59a8e22f3f (patch) | |
| tree | 75b8e00398b14aa8b887013e93adcb0edecfe75f /src/SystemTask | |
| parent | 27fa273d8315f972931dba7971a99b0fbba7360e (diff) | |
Add new screen that allows the user to manually validate the new firmware he's just OTA'ed.
Still need to find a way to display this screen when needed.
Diffstat (limited to 'src/SystemTask')
| -rw-r--r-- | src/SystemTask/SystemTask.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp index 9f57f6f..d4b7818 100644 --- a/src/SystemTask/SystemTask.cpp +++ b/src/SystemTask/SystemTask.cpp @@ -58,14 +58,6 @@ void SystemTask::Work() { spi.Init(); spiNorFlash.Init(); - - // Write the 'image OK' flag if it's not already done - // TODO implement a better verification mecanism for the image (ask for user confirmation via UI/BLE ?) - uint32_t* imageOkPtr = reinterpret_cast<uint32_t *>(0x7BFE8); - uint32_t imageOk = *imageOkPtr; - if(imageOk != 1) - Pinetime::Drivers::InternalFlash::WriteWord(0x7BFE8, 1); - nimbleController.Init(); nimbleController.StartAdvertising(); lcd.Init(); |
