1
0
Fork 0
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:
Dominic Clifton 2014-09-26 01:06:14 +01:00
parent 8d737de864
commit 15cbeff86e
2 changed files with 8 additions and 0 deletions

View file

@ -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