diff options
author | Finlay Davidson <finlay.davidson@coderclass.nl> | 2023-01-07 21:23:15 +0100 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2023-01-09 21:41:21 +0100 |
commit | 96165a8541b33baace920e26f062b2e282d644c6 (patch) | |
tree | 41a5c6ec1f9a9981fcf970b7b48095b54c142d64 /src/components/motion/MotionController.h | |
parent | 09db67e003ab593956b4d4474fd08e7548985030 (diff) |
Format header files
In my PR updating clang-format, I forgot to also format the headers.
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r-- | src/components/motion/MotionController.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h index f80b11b9..857bd45a 100644 --- a/src/components/motion/MotionController.h +++ b/src/components/motion/MotionController.h @@ -19,12 +19,15 @@ namespace Pinetime { int16_t X() const { return x; } + int16_t Y() const { return y; } + int16_t Z() const { return z; } + uint32_t NbSteps() const { return nbSteps; } @@ -32,6 +35,7 @@ namespace Pinetime { void ResetTrip() { currentTripSteps = 0; } + uint32_t GetTripSteps() const { return currentTripSteps; } @@ -40,6 +44,7 @@ namespace Pinetime { bool Should_RaiseWake(bool isSleeping); int32_t currentShakeSpeed(); void IsSensorOk(bool isOk); + bool IsSensorOk() const { return isSensorOk; } |