summaryrefslogtreecommitdiff
path: root/board/scarlet/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scarlet/board.c')
-rw-r--r--board/scarlet/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 4b9a71c746..277c91ca74 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -187,7 +187,7 @@ int extpower_is_present(void)
if (board_vbus_source_enabled(0))
return 0;
else
- return rt946x_is_vbus_ready();
+ return tcpm_get_vbus_level(0);
}
int pd_snk_is_vbus_provided(int port)