Skip to content
Commit a41606ec authored by Thomas Stranger's avatar Thomas Stranger Committed by Carles Cufí
Browse files

soc: arch: stm32g0: fix strobe init for g070 an g0b0



The STM32G070 and STM32G0B0 Socs don't have USB power delivery support
but the PINs PD0, PD2, PB15, PA8 pins of these still have the same
pull down on boot configuration options as the SOCs with UCPD support.

This commit skips the check if such a peripheral is enabled,
therefore the configuration will always be applied on these SOCs
and the compile error is resolved.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent 7d9b7d29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment