From 6d615b374ceb469606fede60919befbe03c0a463 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Fri, 5 Jan 2024 01:22:29 -0800 Subject: [PATCH] add missing vars --- src/displayapp/screens/WatchFaceFuzzy.cpp | 2 +- src/displayapp/screens/WatchFaceFuzzy.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/displayapp/screens/WatchFaceFuzzy.cpp b/src/displayapp/screens/WatchFaceFuzzy.cpp index a41f8381..51e665bb 100644 --- a/src/displayapp/screens/WatchFaceFuzzy.cpp +++ b/src/displayapp/screens/WatchFaceFuzzy.cpp @@ -92,7 +92,7 @@ void WatchFaceFuzzy::Refresh() { uint8_t minute = dateTimeController.Minutes(); /* Begin difference from WatchFaceDigital*/ - std::string hoursStr, timeStr; + std::string hourStr, timeStr; auto sector = minute / 5 + (minute % 5 > 2); if (sector == 12) { hour = (hour + 1) % 12; diff --git a/src/displayapp/screens/WatchFaceFuzzy.h b/src/displayapp/screens/WatchFaceFuzzy.h index 1ef08c8c..4458fe15 100644 --- a/src/displayapp/screens/WatchFaceFuzzy.h +++ b/src/displayapp/screens/WatchFaceFuzzy.h @@ -38,8 +38,11 @@ namespace Pinetime { void Refresh() override; private: + const char* timeAccent = "ffffff"; uint8_t displayedHour = -1; uint8_t displayedMinute = -1; + static const char* timeSectors[12]; + static const char* hourNames[12]; Utility::DirtyValue batteryPercentRemaining {}; Utility::DirtyValue powerPresent {};