diff options
| author | Max Friedrich <minacode@users.noreply.github.com> | 2025-05-16 21:29:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-16 21:29:06 +0200 |
| commit | 4e1ee90286355caa54ac57d2eb5e59748a09a2de (patch) | |
| tree | 323ce15bd5d32300cd3e08d3e61a9f8553111155 /src/displayapp | |
| parent | 85be83beab1d07d55ad4991cd8e455879e8be8cf (diff) | |
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>
Diffstat (limited to 'src/displayapp')
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 3 | ||||
| -rw-r--r-- | src/displayapp/Messages.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 50d6ce45..add00650 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -476,9 +476,6 @@ void DisplayApp::Refresh() { LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None); motorController.RunForDuration(35); break; - case Messages::OnChargingEvent: - motorController.RunForDuration(15); - break; } } diff --git a/src/displayapp/Messages.h b/src/displayapp/Messages.h index d2abc8e5..1fcd72d2 100644 --- a/src/displayapp/Messages.h +++ b/src/displayapp/Messages.h @@ -24,7 +24,6 @@ namespace Pinetime { AlarmTriggered, Chime, BleRadioEnableToggle, - OnChargingEvent, }; } } |
