No more voltage alarms on simu

This commit is contained in:
Bertrand Songis
2019-08-12 14:23:03 +02:00
parent bd6ba97707
commit 185532f05e
15 changed files with 147 additions and 128 deletions
+1 -1
View File
@@ -126,7 +126,6 @@ set(GVAR_SCREEN model_gvars.cpp)
set(TARGET_SRC
${TARGET_SRC}
board.cpp
led_driver.cpp
extmodule_driver.cpp
trainer_driver.cpp
@@ -140,6 +139,7 @@ set(TARGET_SRC
set(FIRMWARE_TARGET_SRC
${FIRMWARE_TARGET_SRC}
${LCD_DRIVER}
board.cpp
backlight_driver.cpp
pwr_driver.cpp
sdram_driver.c
+2 -4
View File
@@ -20,12 +20,12 @@
#include "opentx.h"
#if defined(__cplusplus) && !defined(SIMU)
#if defined(__cplusplus)
extern "C" {
#endif
#include "usb_dcd_int.h"
#include "usb_bsp.h"
#if defined(__cplusplus) && !defined(SIMU)
#if defined(__cplusplus)
}
#endif
@@ -78,7 +78,6 @@ void boardInit()
initialise_monitor_handles();
#endif
#if !defined(SIMU)
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph |
PCBREV_RCC_AHB1Periph |
LED_RCC_AHB1Periph |
@@ -182,7 +181,6 @@ void boardInit()
#endif
ledBlue();
#endif
}
void boardOff()