diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-05-15 22:32:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-15 22:32:40 +0200 |
| commit | 09977c28c040ebbfc258806af5c14321469a0f09 (patch) | |
| tree | f758dece777e9c708222dbd60f494e97f14d14ab /src/components/motion | |
| parent | 4e95e4b5387dd8f4e7368021875ff1a47255e796 (diff) | |
| parent | cd0d85dff95bbc5f285d92eb78a642aab1ae4b8b (diff) | |
Merge pull request #298 from joaquimorg/StepsApp
New Steps app
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 bf644812..3a238262 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 { |
