Skip to content

Commit

Permalink
Remove debug printf
Browse files Browse the repository at this point in the history
I believe it was left here by omission. It currently prints out "0" or "1" to stdout depending on `battery_watt` setting.
  • Loading branch information
czak authored and flightlessmango committed Jul 2, 2023
1 parent 51162cb commit 3860492
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hud_elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,6 @@ void HudElements::battery(){
HUDElements.TextColored(HUDElements.colors.text, "%%");
}
if (Battery_Stats.current_watt != 0) {
printf("%i\n", HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_battery_watt]);
if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_battery_watt]){
ImguiNextColumnOrNewRow();
right_aligned_text(HUDElements.colors.text, HUDElements.ralign_width, "%.1f", Battery_Stats.current_watt);
Expand Down

0 comments on commit 3860492

Please sign in to comment.