mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
STM32F3 - Remove some compiler warnings.
This commit is contained in:
parent
8d737de864
commit
15cbeff86e
2 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "gpio.h"
|
||||
#include "light_led.h"
|
||||
#include "sound_beeper.h"
|
||||
|
@ -78,6 +80,7 @@ void systemInit(bool overclock)
|
|||
{
|
||||
|
||||
#ifdef STM32F303
|
||||
UNUSED(overclock);
|
||||
// start fpu
|
||||
SCB->CPACR = (0x3 << (10*2)) | (0x3 << (11*2));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue