diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-11-29 21:39:33 (GMT) |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2021-12-02 20:17:53 (GMT) |
| commit | e8db73e0e71c3a0b48beb185949e64fcdc79c066 (patch) | |
| tree | fe11b164495176112792bd12cb719af86853f6df /src/displayapp/screens | |
| 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/displayapp/screens')
| -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 4540c1a..bc720ec 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 ca0462a..a18eb29 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" |
