Skip to content

Commit

Permalink
Update src/displayapp/screens/WatchFaceTerminal.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
  • Loading branch information
13werwolf13 and NeroBurner committed Feb 2, 2022
1 parent 265fec5 commit 342ce8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/displayapp/screens/WatchFaceTerminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ void WatchFaceTerminal::Refresh() {
auto day = static_cast<unsigned>(yearMonthDay.day());
auto dayOfWeek = static_cast<Pinetime::Controllers::DateTime::Days>(date::weekday(yearMonthDay).iso_encoding());

int hour = time.hours().count();
auto minute = time.minutes().count();
auto second = time.seconds().count();
uint8_t hour = time.hours().count();
uint8_t minute = time.minutes().count();
uint8_t second = time.seconds().count();

char minutesChar[6];
sprintf(minutesChar, "%02d", static_cast<int>(minute));
Expand Down

0 comments on commit 342ce8c

Please sign in to comment.