diff options
-rw-r--r-- | common/usb_pd_alt_mode_dfp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/usb_pd_alt_mode_dfp.c b/common/usb_pd_alt_mode_dfp.c index cbf2d6bdf9..9e31edba61 100644 --- a/common/usb_pd_alt_mode_dfp.c +++ b/common/usb_pd_alt_mode_dfp.c @@ -144,6 +144,7 @@ static int validate_mode_request(struct svdm_amode_data *modep, void pd_prepare_sysjump(void) { +#ifndef CONFIG_ZEPHYR int i; /* Exit modes before sysjump so we can cleanly enter again later */ @@ -160,6 +161,7 @@ void pd_prepare_sysjump(void) task_wait_event_mask(TASK_EVENT_SYSJUMP_READY, -1); sysjump_task_waiting = TASK_ID_INVALID; } +#endif /* CONFIG_ZEPHYR */ } /* |