feat: mapy bitowe z svg, dodanie potwierdzania akcji, reset urządzenia

This commit is contained in:
2026-06-07 13:55:20 +02:00
parent a7ed8f6cdd
commit 997fd3e563
15 changed files with 1027 additions and 467 deletions
+3 -2
View File
@@ -48,9 +48,10 @@ void updateBuddyAnim(BuddyState &b, uint32_t now, RngFn rng)
if (b.mood == MOOD_NORMAL && now - b.lastEvent > 300000UL)
setBuddyMood(b, MOOD_SLEEPY, now, 0);
// Blink state machine (disabled for SURPRISED, EXCITED, WINKs)
// Blink state machine (disabled for SURPRISED, EXCITED, WINKs, ALERT)
if (b.mood != MOOD_SURPRISED && b.mood != MOOD_EXCITED &&
b.mood != MOOD_WINK_L && b.mood != MOOD_WINK_R)
b.mood != MOOD_WINK_L && b.mood != MOOD_WINK_R &&
b.mood != MOOD_ALERT)
{
switch (b.blinkState) {
case BLINK_OPEN: