Skip to content

Commit

Permalink
hw/mcu/stm32h7: Remove STM32F4/7 specific code
Browse files Browse the repository at this point in the history
This remove function call to HAL_PWREx_EnableOverDrive()
that is only available in F4 and F7 and not H7.
  • Loading branch information
kasjer committed Oct 30, 2023
1 parent 48e4333 commit b28dad9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions hw/mcu/stm/stm32h7xx/src/clock_stm32h7xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,6 @@ SystemClock_Config(void)
assert(0);
}

#if MYNEWT_VAL(STM32_CLOCK_ENABLE_OVERDRIVE)
/*
* Activate the Over-Drive mode
*/
status = HAL_PWREx_EnableOverDrive();
if (status != HAL_OK) {
assert(0);
}
#endif

/*
* Select PLL as system clock source and configure the HCLK, PCLK1 and
* PCLK2 clocks dividers. HSI and HSE are also valid system clock sources,
Expand Down

0 comments on commit b28dad9

Please sign in to comment.