diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 13:23:26 (GMT) |
|---|---|---|
| committer | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 13:33:25 (GMT) |
| commit | 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d (patch) | |
| tree | f4aa571df53901a0cbc00d1ac9a86e23b7194180 /src/components/motion/MotionController.h | |
| parent | 9ab298c09e273479822d10aad9f7bfe1d287ce75 (diff) | |
Reset
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 3a23826..bf64481 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 { |
