From b8595c4543d36cbb96b91d65a8ee6d019e71e2d2 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Wed, 22 Sep 2021 21:52:55 +0100 Subject: [PATCH] Format with clang-format --- src/displayapp/screens/WatchFaceFuzzy.cpp | 2 +- src/displayapp/screens/WatchFaceFuzzy.h | 33 +++++++++++------------ 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/displayapp/screens/WatchFaceFuzzy.cpp b/src/displayapp/screens/WatchFaceFuzzy.cpp index a1ec4ee5ba..75fd14a401 100644 --- a/src/displayapp/screens/WatchFaceFuzzy.cpp +++ b/src/displayapp/screens/WatchFaceFuzzy.cpp @@ -30,7 +30,7 @@ void WatchFaceFuzzy::Refresh() { uint8_t hours, minutes; std::string hoursStr, timeStr; - hours = dateTimeController.Hours() % 12; // TODO: maybe that's not needed? + hours = dateTimeController.Hours() % 12; // TODO: maybe that's not needed? minutes = dateTimeController.Minutes(); auto sector = (minutes / 5 + (minutes % 5 > 2)) % 12; diff --git a/src/displayapp/screens/WatchFaceFuzzy.h b/src/displayapp/screens/WatchFaceFuzzy.h index ed17ee631a..e6c7bfab07 100644 --- a/src/displayapp/screens/WatchFaceFuzzy.h +++ b/src/displayapp/screens/WatchFaceFuzzy.h @@ -5,23 +5,22 @@ #include "components/datetime/DateTimeController.h" namespace Pinetime { - namespace Applications { - namespace Screens { - class WatchFaceFuzzy : public Screen { - public: - WatchFaceFuzzy(DisplayApp* app, Controllers::DateTime& dateTimeController); - ~WatchFaceFuzzy() override; - void Refresh() override; + namespace Applications { + namespace Screens { + class WatchFaceFuzzy : public Screen { + public: + WatchFaceFuzzy(DisplayApp* app, Controllers::DateTime& dateTimeController); + ~WatchFaceFuzzy() override; + void Refresh() override; - private: - Controllers::DateTime& dateTimeController; - lv_task_t* taskRefresh; - lv_obj_t* label_time; - const char* timeAccent = "ffffff"; - static const char* timeSectors[12]; - static const char* hourNames[12]; - }; - } + private: + Controllers::DateTime& dateTimeController; + lv_task_t* taskRefresh; + lv_obj_t* label_time; + const char* timeAccent = "ffffff"; + static const char* timeSectors[12]; + static const char* hourNames[12]; + }; } + } } -