diff options
-rw-r--r-- | board/plankton/usb_pd_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/plankton/usb_pd_config.h b/board/plankton/usb_pd_config.h index 71389c13c2..67e0f26542 100644 --- a/board/plankton/usb_pd_config.h +++ b/board/plankton/usb_pd_config.h @@ -110,6 +110,7 @@ static inline void pd_select_polarity(int port, int polarity) | (polarity ? STM32_COMP_CMP1INSEL_INM4 : STM32_COMP_CMP1INSEL_INM6); + gpio_set_level(GPIO_USBC_POLARITY, polarity); } /* Initialize pins used for TX and put them in Hi-Z */ |