mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +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
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "build_config.h"
|
||||
|
||||
#include "gpio.h"
|
||||
|
||||
#define MODE_OFFSET 0
|
||||
|
@ -70,5 +72,8 @@ void gpioInit(GPIO_TypeDef *gpio, gpio_config_t *config)
|
|||
|
||||
void gpioExtiLineConfig(uint8_t portsrc, uint8_t pinsrc)
|
||||
{
|
||||
UNUSED(portsrc);
|
||||
UNUSED(pinsrc);
|
||||
|
||||
// FIXME needed yet? implement?
|
||||
}
|
||||
|
|
|
@ -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