Skip to content

Commit eb514b4

Browse files
committed
Fix: update miss.
1 parent 94a6052 commit eb514b4

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

LovyanLauncher/LovyanLauncher.ino

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,7 @@ void setup() {
311311
// for M5GO Bottom LED off
312312
pinMode(NEOPIXEL_pin, OUTPUT);
313313
setNeoPixelAll(0);
314-
/*
315-
if(digitalRead(BUTTON_A_PIN) == 0) {
316-
Serial.println("Will Load menu binary");
317-
updateFromFS(SD);
318-
ESP.restart();
319-
}
320-
//*/
321-
/*
314+
322315
const esp_partition_t *running = esp_ota_get_running_partition();
323316
const esp_partition_t *nextupdate = esp_ota_get_next_update_partition(NULL);
324317
const char* menubinfilename PROGMEM {MENU_BIN} ;
@@ -354,7 +347,6 @@ void setup() {
354347
ESP.restart();
355348
}
356349
}
357-
//*/
358350
M5.Lcd.fillScreen(0);
359351

360352
M5ButtonDrawer::width = 106;
53.7 KB
Binary file not shown.

LovyanLauncher/src/I2CScanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class I2CScanner : public MenuCallBack
4343
uint16_t color = exist ? 0xFFFF : 0x39E7;
4444
M5.Lcd.setTextColor(color, 0);
4545
if (_addr == adr) {
46-
color = 0xFFE0;
46+
color = 0x421F;
4747
}
4848
M5.Lcd.drawRect(x,y,19,19, color);
4949
M5.Lcd.printf("%02X", adr);

0 commit comments

Comments
 (0)