fix: Also use camelCase for usages of new vars

This commit is contained in:
Kiri 2024-04-13 13:18:50 +02:00
parent 986b348bc7
commit da47c94480
No known key found for this signature in database
GPG Key ID: F1BEE619CFF29825
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ const std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::mo
if (charge_full_exists && charge_full_design_exists) { if (charge_full_exists && charge_full_design_exists) {
float bat_health_percent = ((float)charge_full / charge_full_design) * 100; float bat_health_percent = ((float)charge_full / charge_full_design) * 100;
if (mainBatHealthPercent == 0.0f || bat_health_percent < main_bat_health_percent) { if (mainBatHealthPercent == 0.0f || bat_health_percent < mainBatHealthPercent) {
mainBatHealthPercent = bat_health_percent; mainBatHealthPercent = bat_health_percent;
} }
} }