mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: compensation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0e66fca4ed
commit
9ac1fb003d
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue