lowersleep: Implement Lower to Sleep functionality (#827)

This commit is contained in:
FintasticMan
2023-08-27 18:15:21 +02:00
committed by GitHub
parent 2b1eae7f59
commit 0f9f606b78
6 changed files with 29 additions and 13 deletions

View File

@@ -46,6 +46,7 @@ namespace Pinetime {
bool ShouldShakeWake(uint16_t thresh);
bool ShouldRaiseWake() const;
bool ShouldLowerSleep() const;
int32_t CurrentShakeSpeed() const {
return accumulatedSpeed;