Skip to content

Commit

Permalink
DisplayApp.cpp: Remove the vibration from OnChargingEvent
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
minacode committed Jun 5, 2023
1 parent f057894 commit 9a56679
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/displayapp/DisplayApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ void DisplayApp::Refresh() {
break;
case Messages::OnChargingEvent:
RestoreBrightness();
motorController.RunForDuration(15);
break;
}
}
Expand Down

0 comments on commit 9a56679

Please sign in to comment.