summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Motion.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-01 22:53:10 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-01 22:56:55 (GMT)
commitb9f3e0d8bdb4ed02a9364fe1d025e441dc7c8ded (patch)
tree6833dcfffee37a710b4366331084d09e02727ff6 /src/displayapp/screens/Motion.h
parent2557f8ed6226916d1a82905e7fed3987b3f774f5 (diff)
.
Diffstat (limited to 'src/displayapp/screens/Motion.h')
-rw-r--r--src/displayapp/screens/Motion.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/Motion.h b/src/displayapp/screens/Motion.h
index 2554ffd..421bf4d 100644
--- a/src/displayapp/screens/Motion.h
+++ b/src/displayapp/screens/Motion.h
@@ -6,6 +6,7 @@
#include "displayapp/screens/Screen.h"
#include <lvgl/src/lv_core/lv_style.h>
#include <lvgl/src/lv_core/lv_obj.h>
+#include <components/motor/MotorController.h>
#include <components/motion/MotionController.h>
namespace Pinetime {
@@ -14,13 +15,14 @@ namespace Pinetime {
class Motion : public Screen {
public:
- Motion(DisplayApp* app, System::SystemTask& systemTask, Controllers::MotionController& motionController);
+ Motion(DisplayApp* app, System::SystemTask& systemTask, Controllers::MotionController& motionController, Controllers::MotorController& motorController);
~Motion() override;
void Refresh() override;
private:
Controllers::MotionController& motionController;
+ Controllers::MotorController& motorController;
System::SystemTask& systemTask;
// bool calibrating = true;
bool started = false;