summaryrefslogtreecommitdiff
path: root/board/drawcia/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/drawcia/board.c')
-rw-r--r--board/drawcia/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/drawcia/board.c b/board/drawcia/board.c
index 0ba3b5c0b0..4a012aafa8 100644
--- a/board/drawcia/board.c
+++ b/board/drawcia/board.c
@@ -563,7 +563,7 @@ __override void typec_set_source_current_limit(int port, enum tcpc_rp_value rp)
current = (rp == TYPEC_RP_3A0) ? 3000 : 1500;
- chg_chips[port].drv->set_otg_current_voltage(port, current, 5000);
+ charger_set_otg_current_voltage(port, current, 5000);
}
/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */