summaryrefslogtreecommitdiff
path: root/board/metaknight
diff options
context:
space:
mode:
Diffstat (limited to 'board/metaknight')
-rw-r--r--board/metaknight/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/metaknight/board.c b/board/metaknight/board.c
index fc138bbbe2..bfff864b89 100644
--- a/board/metaknight/board.c
+++ b/board/metaknight/board.c
@@ -76,7 +76,7 @@ static void notify_c0_chips(void)
* chip. Therefore we'll need to check both ICs.
*/
schedule_deferred_pd_interrupt(0);
- task_set_event(TASK_ID_USB_CHG_P0, USB_CHG_EVENT_BC12);
+ usb_charger_task_set_event(0, USB_CHG_EVENT_BC12);
}
static void check_c0_line(void)