aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r--src/components/motion/MotionController.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h
index 0aa7823e..b2e7e7fe 100644
--- a/src/components/motion/MotionController.h
+++ b/src/components/motion/MotionController.h
@@ -62,6 +62,10 @@ namespace Pinetime {
this->service = service;
}
+ Pinetime::Controllers::MotionService* GetService() const {
+ return service;
+ }
+
private:
uint32_t nbSteps = 0;
uint32_t currentTripSteps = 0;