diff --git a/include/Uhrtypes/Uhrtype.hpp b/include/Uhrtypes/Uhrtype.hpp index 5c7bbfd..a961b56 100644 --- a/include/Uhrtypes/Uhrtype.hpp +++ b/include/Uhrtypes/Uhrtype.hpp @@ -192,6 +192,10 @@ class iUhrType { virtual const bool has24HourLayout() { return false; } + virtual std::vector getMinuteVariants() { + return {MinuteVariant::Off, MinuteVariant::LED4x, MinuteVariant::LED7x}; + } + virtual const bool hasWeatherLayout() { return false; } virtual const bool hasSecondsFrame() { return false; } diff --git a/include/clockWork.hpp b/include/clockWork.hpp index 56319c4..77e30f3 100644 --- a/include/clockWork.hpp +++ b/include/clockWork.hpp @@ -851,6 +851,15 @@ void ClockWork::setClock() { if (!G.languageVariant[NotShowItIs]) { DetermineWhichItIsToShow(_hour + offsetHour); } + + auto minVariants = usedUhrType->getMinuteVariants(); + + Serial.print("Available minute variants: "); + for (auto variant : minVariants) { + Serial.print((uint8_t)variant); + Serial.print(" "); + } + Serial.println(); } //------------------------------------------------------------------------------