Skip to content

Commit

Permalink
Hotfix: don't require watch to be facing up to sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
FintasticMan committed Jan 8, 2022
1 parent d5abe3b commit 6e54344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/motion/MotionController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int32_t MotionController::currentShakeSpeed() {
}

bool MotionController::ShouldLowerSleep() const {
return z <= 0 && y >= 512 && y >= lastY + 192;
return y >= 512 && y >= lastY + 192;
}

void MotionController::IsSensorOk(bool isOk) {
Expand Down

0 comments on commit 6e54344

Please sign in to comment.