diff options
author | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 15:23:26 +0200 |
---|---|---|
committer | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 15:33:25 +0200 |
commit | 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d (patch) | |
tree | f4aa571df53901a0cbc00d1ac9a86e23b7194180 /src/components/motion | |
parent | 9ab298c09e273479822d10aad9f7bfe1d287ce75 (diff) |
Reset
Diffstat (limited to 'src/components/motion')
-rw-r--r-- | src/components/motion/MotionController.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h index 3a238262..bf644812 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); - int16_t X() const { + uint16_t X() const { return x; } - int16_t Y() const { + uint16_t Y() const { return y; } - int16_t Z() const { + uint16_t Z() const { return z; } uint32_t NbSteps() const { |