aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-03-05 15:34:03 +0100
committerRiku Isokoski <riksu9000@gmail.com>2023-03-09 10:17:03 +0200
commite55a76f740561378479eda5ff8c32e09db9f1693 (patch)
tree64d0e6c207380e1de4e1913baa50fdd6a9bce835 /src/components/motion/MotionController.h
parent49ad5be7423f983804e65dd1571cc5dcea26babc (diff)
raisewake: Change names in line with the style guide
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r--src/components/motion/MotionController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h
index fce8b53f..eb8d04aa 100644
--- a/src/components/motion/MotionController.h
+++ b/src/components/motion/MotionController.h
@@ -44,7 +44,7 @@ namespace Pinetime {
}
bool ShouldShakeWake(uint16_t thresh);
- bool Should_RaiseWake(bool isSleeping);
+ bool ShouldRaiseWake(bool isSleeping);
int32_t CurrentShakeSpeed() const {
return accumulatedSpeed;
@@ -76,7 +76,7 @@ namespace Pinetime {
TickType_t time = 0;
int16_t x = 0;
- int16_t lastYForWakeUp = 0;
+ int16_t lastYForRaiseWake = 0;
int16_t lastY = 0;
int16_t y = 0;
int16_t lastZ = 0;