Skip to content

Commit 43644b1

Browse files
committed
feat(board): dont require display for APOTA
1 parent de6bda2 commit 43644b1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

variants/sensebox_eye/APOTA.bin

48 Bytes
Binary file not shown.

variants/sensebox_eye/APOTA.ino

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,18 @@ void setupOTA() {
227227
if (displayEnabled) {
228228
displayStatusBar(progress); // Update progress on display
229229
}
230+
rgb_led.setPixelColor(0, rgb_led.Color(255, 255, 51));
231+
rgb_led.show();
230232
}
231233
} else if (upload.status == UPLOAD_FILE_END) {
232234
if (Update.end(true)) { //true to set the size to the current progress
233235
if (displayEnabled) {
234236
displaySuccessScreen();
237+
delay(3000);
238+
wipeDisplay();
235239
}
236-
delay(3000);
237-
wipeDisplay();
240+
rgb_led.setPixelColor(0, rgb_led.Color(51, 51, 255));
241+
rgb_led.show();
238242
} else {
239243
Update.printError(Serial);
240244
}

0 commit comments

Comments
 (0)