summaryrefslogtreecommitdiff
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-05-18 17:45:16 +0200
committerKieran Cawthray <kieranc@gmail.com>2021-05-18 17:45:16 +0200
commit6a925292722be365f4efc288c64b023639f0c201 (patch)
tree0d60937546c41844ead44375d6fbee7e6cb3ea0b /src/components/motion/MotionController.h
parenta4968b502990f4a9e848c5240be2ee73348dd38e (diff)
Revert "Reset"
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
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 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 {