diff options
Diffstat (limited to 'driver/bc12/max14637.c')
-rw-r--r-- | driver/bc12/max14637.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/bc12/max14637.c b/driver/bc12/max14637.c index ea5dfa126f..2aab525f00 100644 --- a/driver/bc12/max14637.c +++ b/driver/bc12/max14637.c @@ -129,7 +129,7 @@ static void detect_or_power_down_ic(const int port) int vbus_present; #ifdef CONFIG_USB_PD_VBUS_DETECT_TCPC - vbus_present = tcpm_get_vbus_level(port); + vbus_present = tcpm_check_vbus_level(port, VBUS_PRESENT); #else vbus_present = pd_snk_is_vbus_provided(port); #endif /* !defined(CONFIG_USB_PD_VBUS_DETECT_TCPC) */ |