summaryrefslogtreecommitdiff
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-27 06:57:01 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-27 06:57:01 (GMT)
commit8413e62eeab686fad4f3d280e4732571372088e3 (patch)
tree261000c41a03f35adbbf700fe472554b38c61de8 /src/components/motion/MotionController.h
parentce7fd962caf64fa0037d1b80baa48deb88839010 (diff)
Sans shakewake and leftover modifications: Size: 228360
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r--src/components/motion/MotionController.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h
index 5200b41..a56991a 100644
--- a/src/components/motion/MotionController.h
+++ b/src/components/motion/MotionController.h
@@ -25,9 +25,7 @@ namespace Pinetime {
return z;
}
- bool Should_ShakeWake(uint16_t thresh);
bool Should_RaiseWake(bool isSleeping);
- int32_t currentShakeSpeed();
void IsSensorOk(bool isOk);
bool IsSensorOk() const {
return isSensorOk;
@@ -47,11 +45,7 @@ namespace Pinetime {
bool isSensorOk = false;
DeviceTypes deviceType = DeviceTypes::Unknown;
- int16_t lastXForShake = 0;
- int16_t lastYForShake = 0;
- int16_t lastZForShake = 0;
int32_t accumulatedspeed = 0;
- uint32_t lastShakeTime = 0;
};
}
} \ No newline at end of file