summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Clock.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-03-31 19:47:27 +0200
committerJean-François Milants <jf@codingfield.com>2021-04-04 15:56:04 +0200
commit68bdaee1cc301a2aca1849f38d2596debe7d67d1 (patch)
tree00f3bd9a1554c286aa2d5bd3a86bcfcdf7ba7171 /src/displayapp/screens/Clock.h
parent04fc33e2d479161ec261f932b908dffbd73e227f (diff)
First integration of the motion sensor (bma 421) : step counting + wake on wrist rotation + app to see the value of the 3 axis in "real time".
Diffstat (limited to 'src/displayapp/screens/Clock.h')
-rw-r--r--src/displayapp/screens/Clock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/displayapp/screens/Clock.h b/src/displayapp/screens/Clock.h
index 964ccbf6..95968c5c 100644
--- a/src/displayapp/screens/Clock.h
+++ b/src/displayapp/screens/Clock.h
@@ -17,6 +17,7 @@ namespace Pinetime {
class Battery;
class Ble;
class NotificationManager;
+ class MotionController;
}
namespace Applications {
@@ -29,7 +30,8 @@ namespace Pinetime {
Controllers::Ble& bleController,
Controllers::NotificationManager& notificatioManager,
Controllers::Settings &settingsController,
- Controllers::HeartRateController& heartRateController);
+ Controllers::HeartRateController& heartRateController,
+ Controllers::MotionController& motionController);
~Clock() override;
bool Refresh() override;
@@ -44,6 +46,7 @@ namespace Pinetime {
Controllers::NotificationManager& notificatioManager;
Controllers::Settings& settingsController;
Controllers::HeartRateController& heartRateController;
+ Controllers::MotionController& motionController;
ScreenList<2> screens;