From 68bdaee1cc301a2aca1849f38d2596debe7d67d1 Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Wed, 31 Mar 2021 19:47:27 +0200 Subject: 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". --- src/displayapp/DisplayApp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/displayapp/DisplayApp.h') diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h index c22aa1f2..88a5691a 100644 --- a/src/displayapp/DisplayApp.h +++ b/src/displayapp/DisplayApp.h @@ -27,6 +27,7 @@ namespace Pinetime { class DateTime; class NotificationManager; class HeartRateController; + class MotionController; } namespace System { @@ -45,7 +46,8 @@ namespace Pinetime { System::SystemTask &systemTask, Pinetime::Controllers::NotificationManager& notificationManager, Pinetime::Controllers::HeartRateController& heartRateController, - Controllers::Settings &settingsController + Controllers::Settings &settingsController, + Pinetime::Controllers::MotionController& motionController ); void Start(); void PushMessage(Display::Messages msg); @@ -92,6 +94,7 @@ namespace Pinetime { TouchModes touchMode = TouchModes::Gestures; Pinetime::Controllers::HeartRateController& heartRateController; Pinetime::Controllers::Settings& settingsController; + Pinetime::Controllers::MotionController& motionController; }; } } -- cgit v1.2.3-70-g09d2