mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Enable SYSCFG clock before selecting VSCALE0
This commit is contained in:
parent
132f1706e0
commit
25020a1bb5
@ -192,6 +192,7 @@ void SystemClock_Config(void)
|
||||
#if defined(MCU_SERIES_H7)
|
||||
// Enable VSCALE0 for revision V devices.
|
||||
if (HAL_GetREVID() >= 0x2003) {
|
||||
__HAL_RCC_SYSCFG_CLK_ENABLE();
|
||||
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);
|
||||
} else {
|
||||
#else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user