spelling: compensation

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2025-01-28 21:32:34 -05:00
parent 0e66fca4ed
commit 9ac1fb003d
+3 -3
View File
@@ -43,11 +43,11 @@ void status_led_set(StatusLedState state) {
s_led_color = new_color;
// Tell the battery curve service to account for the updated LED state.
int compenstation_mv = 0;
int compensation_mv = 0;
if (s_led_color != LED_BLACK) {
compenstation_mv = BOARD_CONFIG_POWER.charging_status_led_voltage_compensation;
compensation_mv = BOARD_CONFIG_POWER.charging_status_led_voltage_compensation;
}
battery_curve_set_compensation(BATTERY_CURVE_COMPENSATE_STATUS_LED, compenstation_mv);
battery_curve_set_compensation(BATTERY_CURVE_COMPENSATE_STATUS_LED, compensation_mv);
led_controller_rgb_set_color(s_led_color);
}