mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
pios.h: only include STM32xxx.h if particular STM32 MCU is defined
This commit is contained in:
parent
38cd0e1c46
commit
7aa59f4573
@ -49,11 +49,11 @@
|
||||
#include <math.h>
|
||||
|
||||
/* STM32 Std Peripherals Lib */
|
||||
#ifdef STM32F4XX
|
||||
#if defined(STM32F10X)
|
||||
#include <stm32f10x.h>
|
||||
#elif defined(STM32F4XX)
|
||||
#include <stm32f4xx.h>
|
||||
#include <stm32f4xx_rcc.h>
|
||||
#else
|
||||
#include <stm32f10x.h>
|
||||
#endif
|
||||
|
||||
/* PIOS board specific feature selection */
|
||||
|
Loading…
x
Reference in New Issue
Block a user