diff options
author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-11-29 22:39:33 +0100 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2021-12-02 21:17:53 +0100 |
commit | e8db73e0e71c3a0b48beb185949e64fcdc79c066 (patch) | |
tree | fe11b164495176112792bd12cb719af86853f6df /src | |
parent | 4b7f2546bd26d9ad53eea6f7bb4e27f41d5842f3 (diff) |
WatchFaceAnalog: remove unused ScreenList, add needed includes
Remove unused `ScreenList.h` include.
For `std::abs()` add needed include `<cmath>`.
For the forward declared Settings-Controller add the `Settings.h`
include to the cpp file.
Diffstat (limited to 'src')
-rw-r--r-- | src/displayapp/screens/WatchFaceAnalog.cpp | 2 | ||||
-rw-r--r-- | src/displayapp/screens/WatchFaceAnalog.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceAnalog.cpp b/src/displayapp/screens/WatchFaceAnalog.cpp index 4540c1a8..bc720ecb 100644 --- a/src/displayapp/screens/WatchFaceAnalog.cpp +++ b/src/displayapp/screens/WatchFaceAnalog.cpp @@ -1,9 +1,11 @@ #include "displayapp/screens/WatchFaceAnalog.h" +#include <cmath> #include <lvgl/lvgl.h> #include "displayapp/screens/BatteryIcon.h" #include "displayapp/screens/BleIcon.h" #include "displayapp/screens/Symbols.h" #include "displayapp/screens/NotificationIcon.h" +#include "components/settings/Settings.h" LV_IMG_DECLARE(bg_clock); diff --git a/src/displayapp/screens/WatchFaceAnalog.h b/src/displayapp/screens/WatchFaceAnalog.h index ca0462a6..a18eb299 100644 --- a/src/displayapp/screens/WatchFaceAnalog.h +++ b/src/displayapp/screens/WatchFaceAnalog.h @@ -5,7 +5,6 @@ #include <cstdint> #include <memory> #include "displayapp/screens/Screen.h" -#include "displayapp/screens/ScreenList.h" #include "components/datetime/DateTimeController.h" #include "components/battery/BatteryController.h" #include "components/ble/BleController.h" |