diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 15:45:16 (GMT) |
|---|---|---|
| committer | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 15:45:16 (GMT) |
| commit | 6a925292722be365f4efc288c64b023639f0c201 (patch) | |
| tree | 0d60937546c41844ead44375d6fbee7e6cb3ea0b /src/components/motion/MotionController.h | |
| parent | a4968b502990f4a9e848c5240be2ee73348dd38e (diff) | |
Revert "Reset"
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
Diffstat (limited to 'src/components/motion/MotionController.h')
| -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 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 { |
