Skip to content

Commit 95b9016

Browse files
authored
Fix STM32G0B1 not booting after ChibiOS update (qmk#26342)
1 parent dbd9b0a commit 95b9016

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • platforms/chibios/boards/GENERIC_STM32_G0B1XB/configs

platforms/chibios/boards/GENERIC_STM32_G0B1XB/configs/mcuconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define STM32_NO_INIT FALSE
4242
#define STM32_CLOCK_DYNAMIC TRUE
4343
#define STM32_VOS STM32_VOS_RANGE1
44-
#define STM32_PWR_CR2 (STM32_PVDRT_LEV0 | STM32_PVDFT_LEV0 | STM32_PVDE_DISABLED)
44+
#define STM32_PWR_CR2 PWR_CR2_PVMEN_USB
4545
#define STM32_PWR_CR3 (PWR_CR3_EIWUL)
4646
#define STM32_PWR_CR4 (0U)
4747
#define STM32_PWR_PUCRA (0U)

0 commit comments

Comments
 (0)