diff options
Diffstat (limited to 'chip/stm32/usb_pd_phy.c')
-rw-r--r-- | chip/stm32/usb_pd_phy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/stm32/usb_pd_phy.c b/chip/stm32/usb_pd_phy.c index 162e613cfb..784e294fd7 100644 --- a/chip/stm32/usb_pd_phy.c +++ b/chip/stm32/usb_pd_phy.c @@ -544,6 +544,8 @@ void pd_hw_init(int port) /* Timer ICx input configuration */ if (TIM_RX_CCR_IDX(port) == 1) phy->tim_rx->ccmr1 |= TIM_CCR_CS << 0; + else if (TIM_RX_CCR_IDX(port) == 4) + phy->tim_rx->ccmr2 |= TIM_CCR_CS << 8; else /* Unsupported RX timer capture input */ ASSERT(0); |