diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-04-05 21:50:38 +0300 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-04-16 14:15:49 +0000 |
| commit | 4d93ae6d27a94fe2a3c03b8f09bff2e23da30e12 (patch) | |
| tree | b2b893c8ab2bd76635b91690d85d64cb15710e5d /src/components | |
| parent | 348d3de60bc61f04f11f5409c5950afb22aeb788 (diff) | |
MotionController: Remove IsOk variable
We should be able to assume MotionController is safe to use.
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/motion/MotionController.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h index eb8d04aa..87dbcd1f 100644 --- a/src/components/motion/MotionController.h +++ b/src/components/motion/MotionController.h @@ -50,14 +50,6 @@ namespace Pinetime { return accumulatedSpeed; } - void IsSensorOk(bool isOk) { - isSensorOk = isOk; - } - - bool IsSensorOk() const { - return isSensorOk; - } - DeviceTypes DeviceType() const { return deviceType; } @@ -83,7 +75,6 @@ namespace Pinetime { int16_t z = 0; int32_t accumulatedSpeed = 0; - bool isSensorOk = false; DeviceTypes deviceType = DeviceTypes::Unknown; Pinetime::Controllers::MotionService* service = nullptr; }; |
