From 7c1167606cb539fb68cfe974534fe7b92e4c8d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Ha=C3=9Fel?= Date: Thu, 23 Jan 2025 22:33:11 +0100 Subject: [PATCH] Katrin 32. Geburtstag --- src/mode/CountDown/CountDown.h | 16 ++++++++-------- src/mode/Mode.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mode/CountDown/CountDown.h b/src/mode/CountDown/CountDown.h index 72a7ff9..079ce5f 100644 --- a/src/mode/CountDown/CountDown.h +++ b/src/mode/CountDown/CountDown.h @@ -269,18 +269,18 @@ private: void drawYear(Display& display, int year) const { if (plus1DayForSleepingCount) { - uint8_t x = 0; - x += display.print(x, 1,SYMBOL_E, WHITE, true); + uint8_t x = 1; + x += display.printM(x, 1, WHITE); + x += 1; + x += display.print(x, 1,SYMBOL_A, WHITE, true); x += 1; x += display.printM(x, 1, WHITE); x += 1; - x += display.printI(x, 1, WHITE); + x += display.print(x, 1,SYMBOL_A, WHITE, true); + x += 4; + x += display.print(x, 1, 3, WHITE, true); x += 1; - x += display.print(x, 1,SYMBOL_L, WHITE, true); - x += 3; - x += display.print(x, 1, 5, WHITE, true); - x += 3; - display.printCreeper(x, 0); + x += display.print(x, 1, 2, WHITE, true); } else { uint8_t x = 8; x += display.print(x, 1, year / 1000 % 10, WHITE, true) + 1; diff --git a/src/mode/Mode.h b/src/mode/Mode.h index 8ae8ca3..f37ba76 100644 --- a/src/mode/Mode.h +++ b/src/mode/Mode.h @@ -5,7 +5,7 @@ #include "display/Display.h" #define FAKE_DAYS 0 -#define FAKE_HOURS 0 +#define FAKE_HOURS 2 #define FAKE_MINUTES 0 #define FAKE_SECONDS 0