diff options
Diffstat (limited to 'src/displayapp/screens/Motion.h')
| -rw-r--r-- | src/displayapp/screens/Motion.h | 4 |
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; |
