diff options
Diffstat (limited to 'common/host_command_pd.c')
-rw-r--r-- | common/host_command_pd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/host_command_pd.c b/common/host_command_pd.c index c3fc385216..831b6159bc 100644 --- a/common/host_command_pd.c +++ b/common/host_command_pd.c @@ -225,7 +225,7 @@ void pd_command_task(void) } } -#ifdef USB_TCPM_WITH_OFF_CHIP_TCPC +#if defined(USB_TCPM_WITH_OFF_CHIP_TCPC) && defined(CONFIG_HOSTCMD_EVENTS) /* * PD host event status for host command * Note: this variable must be aligned on 4-byte boundary because we pass the |