summaryrefslogtreecommitdiff
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-05-15 20:32:40 (GMT)
committerGitHub <noreply@github.com>2021-05-15 20:32:40 (GMT)
commit09977c28c040ebbfc258806af5c14321469a0f09 (patch)
treef758dece777e9c708222dbd60f494e97f14d14ab /src/components/motion/MotionController.h
parent4e95e4b5387dd8f4e7368021875ff1a47255e796 (diff)
parentcd0d85dff95bbc5f285d92eb78a642aab1ae4b8b (diff)
Merge pull request #298 from joaquimorg/StepsApp
New Steps app
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r--src/components/motion/MotionController.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h
index bf64481..3a23826 100644
--- a/src/components/motion/MotionController.h
+++ b/src/components/motion/MotionController.h
@@ -8,13 +8,13 @@ namespace Pinetime {
public:
void Update(int16_t x, int16_t y, int16_t z, uint32_t nbSteps);
- uint16_t X() const {
+ int16_t X() const {
return x;
}
- uint16_t Y() const {
+ int16_t Y() const {
return y;
}
- uint16_t Z() const {
+ int16_t Z() const {
return z;
}
uint32_t NbSteps() const {