summaryrefslogtreecommitdiff
path: root/driver/led/ds2413.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/led/ds2413.c')
-rw-r--r--driver/led/ds2413.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/led/ds2413.c b/driver/led/ds2413.c
index 5268e52ac0..1b91f2b2b1 100644
--- a/driver/led/ds2413.c
+++ b/driver/led/ds2413.c
@@ -107,7 +107,7 @@ static void onewire_led_tick(void)
}
/* Translate charge state to LED color */
- switch (charge_get_state()) {
+ switch (led_pwr_get_state()) {
case PWR_STATE_IDLE:
new_color = LED_GREEN;
break;