mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
F446 support
This commit is contained in:
parent
f6c7003ab1
commit
67b9966dc6
11 changed files with 950 additions and 2 deletions
|
@ -1018,7 +1018,7 @@ void PWR_ClearFlag(uint32_t PWR_FLAG)
|
|||
/* Check the parameters */
|
||||
assert_param(IS_PWR_CLEAR_FLAG(PWR_FLAG));
|
||||
|
||||
#if defined (STM32F427_437xx) || defined (STM32F429_439xx)
|
||||
#if defined (STM32F427_437xx) || defined (STM32F429_439xx) || defined (STM32F446xx)
|
||||
if (PWR_FLAG != PWR_FLAG_UDRDY)
|
||||
{
|
||||
PWR->CR |= PWR_FLAG << 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue