Files refactoring + costmetics (#5552)

This commit is contained in:
Bertrand Songis
2017-12-20 11:03:33 +01:00
committed by GitHub
parent 38762fb618
commit 727da06266
8 changed files with 255 additions and 1115 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ extern "C" {
#pragma clang diagnostic ignored "-Wdeprecated-register"
#endif
#if defined(PCBX9E)
#if defined(STM32F4)
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h"
#include "STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h"
@@ -95,7 +95,7 @@ extern "C" {
#define LUA_MEM_MAX (0) // max allowed memory usage for complete Lua (in bytes), 0 means unlimited
#if defined(PCBX9E)
#if defined(STM32F4)
#define PERI1_FREQUENCY 42000000
#define PERI2_FREQUENCY 84000000
#else