diff options
Diffstat (limited to 'board/grunt')
-rw-r--r-- | board/grunt/board.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/grunt/board.c b/board/grunt/board.c index 72717b7cac..4794a8b952 100644 --- a/board/grunt/board.c +++ b/board/grunt/board.c @@ -179,18 +179,8 @@ void board_overcurrent_event(int port) void board_tcpc_init(void) { - int count = 0; int port; - /* Wait for disconnected battery to wake up */ - while (battery_hw_present() == BP_YES && - battery_is_present() == BP_NO) { - usleep(100 * MSEC); - /* Give up waiting after 1 second */ - if (++count > 10) - break; - } - /* Only reset TCPC if not sysjump */ if (!system_jumped_to_this_image()) board_reset_pd_mcu(); |