WatchFaceAnalog: local date/time variables

Use local date and time variables. No need to store them in the object.
This commit is contained in:
Reinhold Gschweicher
2022-03-14 20:33:14 +01:00
parent 21da5869c5
commit 1379b7902f
2 changed files with 6 additions and 13 deletions

View File

@@ -35,13 +35,6 @@ namespace Pinetime {
private:
uint8_t sHour, sMinute, sSecond;
uint8_t hour;
uint8_t minute;
uint8_t second;
Pinetime::Controllers::DateTime::Months month;
uint8_t day;
Pinetime::Controllers::DateTime::Days dayOfWeek;
Pinetime::Controllers::DateTime::Months currentMonth = Pinetime::Controllers::DateTime::Months::Unknown;
Pinetime::Controllers::DateTime::Days currentDayOfWeek = Pinetime::Controllers::DateTime::Days::Unknown;