Skip to content

Commit

Permalink
avoid too much sound for chargingFull
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Mar 25, 2024
1 parent 60b3537 commit a428f84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/RobotKit/include/RobotController.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,10 @@ class RobotController : public interface::RobotController
_behaviorkit.chargingMedium();
} else if (level < 90) {
_behaviorkit.chargingHigh();
} else {
} else if (level == 101) {
_behaviorkit.chargingFull();
} else {
_behaviorkit.chargingHigh();
}
}

Expand Down

0 comments on commit a428f84

Please sign in to comment.