Revert backlight to active-high, implement Draw_Sunflower_Pattern boot screen for empty storage states

This commit is contained in:
drjones
2026-07-05 02:48:46 -07:00
parent 388963e067
commit bb9db04311
4 changed files with 42 additions and 6 deletions

View File

@@ -122,7 +122,7 @@ void setup() {
if (g_memoryCount == 0) {
printf("No memories found. Add some via the web app.\r\n");
g_standbyActive = true;
Draw_Candle_Body();
Draw_Sunflower_Pattern();
} else {
int favoriteIndex = -1;
if (g_favoriteMemoryId >= 0) {
@@ -238,7 +238,7 @@ void loop() {
if (g_memoryCount == 0) {
if (!g_standbyActive) {
g_standbyActive = true;
Draw_Candle_Body();
Draw_Sunflower_Pattern();
}
} else if (!g_standbyActive && !isAudioPlaying() && currentState == STATE_IDLE && !g_tributeActive) {
if (now - lastInteractionTime > STANDBY_TIMEOUT) {
@@ -248,7 +248,7 @@ void loop() {
}
}
if (g_standbyActive) {
if (g_standbyActive && g_memoryCount > 0) {
Draw_Candle_Flicker();
}