summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/SystemInfo.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-06-20 15:09:24 (GMT)
committerGitea <gitea@fake.local>2021-06-20 15:09:24 (GMT)
commitd96395c81021778af35b8b4bf965bfe8663eb081 (patch)
tree979e75d716bca8bcd69b86f24a2f2d0270a274d0 /src/displayapp/screens/SystemInfo.h
parentfb133a0167f7ea4281bca45be6efc928720d4f82 (diff)
parent20a24f8cf56551eae1202f8dc5733bd0cf61adbf (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/displayapp/screens/SystemInfo.h')
-rw-r--r--src/displayapp/screens/SystemInfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.h b/src/displayapp/screens/SystemInfo.h
index c0c6555..9d471f6 100644
--- a/src/displayapp/screens/SystemInfo.h
+++ b/src/displayapp/screens/SystemInfo.h
@@ -27,7 +27,8 @@ namespace Pinetime {
Pinetime::Controllers::Battery& batteryController,
Pinetime::Controllers::BrightnessController& brightnessController,
Pinetime::Controllers::Ble& bleController,
- Pinetime::Drivers::WatchdogView& watchdog);
+ Pinetime::Drivers::WatchdogView& watchdog,
+ Pinetime::Controllers::MotionController& motionController);
~SystemInfo() override;
bool Refresh() override;
bool OnButtonPushed() override;
@@ -41,8 +42,12 @@ namespace Pinetime {
Pinetime::Controllers::BrightnessController& brightnessController;
Pinetime::Controllers::Ble& bleController;
Pinetime::Drivers::WatchdogView& watchdog;
+ Pinetime::Controllers::MotionController& motionController;
ScreenList<5> screens;
+
+ static bool sortById(const TaskStatus_t& lhs, const TaskStatus_t& rhs);
+
std::unique_ptr<Screen> CreateScreen1();
std::unique_ptr<Screen> CreateScreen2();
std::unique_ptr<Screen> CreateScreen3();