Build fail fix

This commit is contained in:
HarukiToreda
2025-10-06 12:29:43 -04:00
parent b549786bbb
commit 67c0000f87
8 changed files with 38 additions and 9 deletions

View File

@@ -758,9 +758,9 @@ void Power::shutdown()
playShutdownMelody();
#endif
nodeDB->saveToDisk();
// === Save live messages before powering off ===
#if HAS_SCREEN
messageStore.saveToFlash();
#endif
#if defined(ARCH_NRF52) || defined(ARCH_ESP32) || defined(ARCH_RP2040)
#ifdef PIN_LED1
ledOff(PIN_LED1);