diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-04-26 21:10:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-26 21:10:11 +0200 |
| commit | 4706c99db4c1e05f9dd90f152f2dea08d8f22ab2 (patch) | |
| tree | cf2bea6d67e8d91a7d6222b8e0b55a0075575003 /src/components/motion/MotionController.h | |
| parent | e56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff) | |
| parent | 69898545193a82f7d72c9f47c9d9de36167b157b (diff) | |
Merge pull request #293 from Avamander/patch-5
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/components/motion/MotionController.h')
| -rw-r--r-- | src/components/motion/MotionController.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h index 5881997f..bf644812 100644 --- a/src/components/motion/MotionController.h +++ b/src/components/motion/MotionController.h @@ -8,14 +8,24 @@ namespace Pinetime { public: void Update(int16_t x, int16_t y, int16_t z, uint32_t nbSteps); - uint16_t X() const { return x; } - uint16_t Y() const { return y; } - uint16_t Z() const { return z; } - uint32_t NbSteps() const { return nbSteps; } + uint16_t X() const { + return x; + } + uint16_t Y() const { + return y; + } + uint16_t Z() const { + return z; + } + uint32_t NbSteps() const { + return nbSteps; + } bool ShouldWakeUp(bool isSleeping); void IsSensorOk(bool isOk); - bool IsSensorOk() const { return isSensorOk; } + bool IsSensorOk() const { + return isSensorOk; + } private: uint32_t nbSteps; |
