add missing vars

This commit is contained in:
zyphlar 2024-01-05 01:22:29 -08:00
parent 3df7c6a4f3
commit 6d615b374c
Signed by: will
GPG Key ID: 1159B930701263F3
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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<uint8_t> batteryPercentRemaining {};
Utility::DirtyValue<bool> powerPresent {};