mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-27 03:32:37 +03:00
Cleanup
This commit is contained in:
parent
d270275bd2
commit
ad42cdf120
@ -13,10 +13,6 @@ namespace Pinetime {
|
||||
BMA421,
|
||||
BMA425,
|
||||
};
|
||||
enum class WakeUpMode : uint8_t {
|
||||
RaiseWrist = 0,
|
||||
Shake,
|
||||
};
|
||||
|
||||
void Update(int16_t x, int16_t y, int16_t z, uint32_t nbSteps);
|
||||
|
||||
|
@ -470,7 +470,7 @@ void SystemTask::UpdateMotion() {
|
||||
|
||||
motionController.IsSensorOk(motionSensor.IsOk());
|
||||
motionController.Update(motionValues.x, motionValues.y, motionValues.z, motionValues.steps);
|
||||
// TODO add modes arg
|
||||
|
||||
if (settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::RaiseWrist) &&
|
||||
motionController.Should_RaiseWake(isSleeping)) {
|
||||
GoToRunning();
|
||||
|
Loading…
Reference in New Issue
Block a user