From bbfc20c3ff4b741cd21b162389905a59a8e22f3f Mon Sep 17 00:00:00 2001 From: JF Date: Tue, 11 Aug 2020 17:50:00 +0200 Subject: 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. --- src/SystemTask/SystemTask.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/SystemTask/SystemTask.cpp') diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp index 9f57f6f6..d4b78187 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(0x7BFE8); - uint32_t imageOk = *imageOkPtr; - if(imageOk != 1) - Pinetime::Drivers::InternalFlash::WriteWord(0x7BFE8, 1); - nimbleController.Init(); nimbleController.StartAdvertising(); lcd.Init(); -- cgit v1.2.3