Remove the vibration while charging (#1768)
* DisplayApp.cpp: Remove the vibration from OnChargingEvent This fixes a bug where the vibration interupts the physical connection with the charger and therefore triggers a new charging event and vibration, ending in a cycle of vibrations while charging. * remove OnChargingEvent message from DisplayApp --------- Co-authored-by: minacode <minamoto9@web.de>
This commit is contained in:
parent
85be83beab
commit
4e1ee90286
|
|
@ -476,9 +476,6 @@ void DisplayApp::Refresh() {
|
|||
LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None);
|
||||
motorController.RunForDuration(35);
|
||||
break;
|
||||
case Messages::OnChargingEvent:
|
||||
motorController.RunForDuration(15);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ namespace Pinetime {
|
|||
AlarmTriggered,
|
||||
Chime,
|
||||
BleRadioEnableToggle,
|
||||
OnChargingEvent,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -339,7 +339,6 @@ void SystemTask::Work() {
|
|||
case Messages::OnChargingEvent:
|
||||
batteryController.ReadPowerState();
|
||||
GoToRunning();
|
||||
displayApp.PushMessage(Applications::Display::Messages::OnChargingEvent);
|
||||
break;
|
||||
case Messages::MeasureBatteryTimerExpired:
|
||||
batteryController.MeasureVoltage();
|
||||
|
|
|
|||
Loading…
Reference in a new issue