Skip to content

Commit

Permalink
Fix wrong right rpm on the OLED display. (#479)
Browse files Browse the repository at this point in the history
Fix #478
  • Loading branch information
tbellembois authored Jan 30, 2025
1 parent 8f525c1 commit b36ebcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/openbot/openbot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ void display_vehicle_data() {
#endif
#if (HAS_SPEED_SENSORS_FRONT or HAS_SPEED_SENSORS_BACK or HAS_SPEED_SENSORS_MIDDLE)
String left_rpm_str = String("Left RPM: ") + String(rpm_left, 0);
String right_rpm_str = String("Right RPM: ") + String(rpm_left, 0);
String right_rpm_str = String("Right RPM: ") + String(rpm_right, 0);
#else
String left_rpm_str = String("Left RPM: ") + String("N/A");
String right_rpm_str = String("Right RPM: ") + String("N/A");
Expand Down Expand Up @@ -1885,4 +1885,4 @@ void update_speed_rm() {
counter_rm++;
}
}
#endif
#endif

0 comments on commit b36ebcd

Please sign in to comment.