Fixed NV14 simu linking

This commit is contained in:
Raphael Coeffic
2021-07-31 18:46:43 +02:00
parent 2e5dd73f51
commit a8e2e3de74
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -151,6 +151,7 @@ bool adcRead()
return true;
}
#if !defined(SIMU)
uint16_t getRTCBatteryVoltage()
{
#if defined(HAS_TX_RTC_VOLTAGE)
@@ -166,7 +167,6 @@ uint16_t getRTCBatteryVoltage()
#endif
}
#if !defined(SIMU)
uint16_t getAnalogValue(uint8_t index)
{
if (IS_POT(index) && !IS_POT_SLIDER_AVAILABLE(index)) {
+2 -2
View File
@@ -48,8 +48,6 @@ add_definitions(-DINTERNAL_MODULE_AFHDS2A)
set(TARGET_SRC
${TARGET_SRC}
audio_spi_driver.cpp
../../hal/adc_driver.cpp
../common/arm/stm32/stm32_hal_adc.cpp
../common/arm/stm32/mixer_scheduler_driver.cpp
../common/arm/stm32/timers_driver.cpp
)
@@ -58,6 +56,8 @@ set(FIRMWARE_TARGET_SRC
${FIRMWARE_TARGET_SRC}
battery_driver.cpp
../horus/flyskyHallStick_driver.cpp
../common/arm/stm32/stm32_hal_adc.cpp
../../hal/adc_driver.cpp
)
set(BITMAPS_TARGET nv14_bitmaps)