From 66de2c72f15377dbc6208fb5c6eb110df31cd6aa Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 21 Aug 2019 16:39:08 +0200 Subject: [PATCH] [Horus] RTC Battery voltage removed from DEBUG --- radio/src/gui/480x272/view_statistics.cpp | 6 ------ radio/src/targets/horus/CMakeLists.txt | 2 +- .../targets/horus/{adc_driver.cpp => x12s_adc_driver.cpp} | 0 3 files changed, 1 insertion(+), 7 deletions(-) rename radio/src/targets/horus/{adc_driver.cpp => x12s_adc_driver.cpp} (100%) diff --git a/radio/src/gui/480x272/view_statistics.cpp b/radio/src/gui/480x272/view_statistics.cpp index 5d4f4a5b0..294f8bf7c 100644 --- a/radio/src/gui/480x272/view_statistics.cpp +++ b/radio/src/gui/480x272/view_statistics.cpp @@ -154,12 +154,6 @@ bool menuStatsDebug(event_t event) lcdDrawNumber(lcdNextPos+5, y, audioStack.available(), LEFT); y += FH; -#if defined(STM32) - lcdDrawText(MENUS_MARGIN_LEFT, y, STR_RTC_BATT); - drawValueWithUnit(MENU_STATS_COLUMN1, y, getRTCBatteryVoltage(), UNIT_VOLTS, PREC2|LEFT); - y += FH; -#endif - #if defined(DISK_CACHE) && defined(DEBUG) lcdDrawText(MENUS_MARGIN_LEFT, y, "SD cache hits"); lcdDrawNumber(MENU_STATS_COLUMN1, y, diskCache.getHitRate(), PREC1|LEFT, 0, NULL, "%"); diff --git a/radio/src/targets/horus/CMakeLists.txt b/radio/src/targets/horus/CMakeLists.txt index 846082748..ac7855045 100644 --- a/radio/src/targets/horus/CMakeLists.txt +++ b/radio/src/targets/horus/CMakeLists.txt @@ -66,7 +66,7 @@ elseif (PCB STREQUAL X12S) set(TARGET_SRC ${TARGET_SRC} audio_spi_driver.cpp - adc_driver.cpp + x12s_adc_driver.cpp gps_driver.cpp ) set(AUX_SERIAL_DRIVER ../common/arm/stm32/aux_serial_driver.cpp) diff --git a/radio/src/targets/horus/adc_driver.cpp b/radio/src/targets/horus/x12s_adc_driver.cpp similarity index 100% rename from radio/src/targets/horus/adc_driver.cpp rename to radio/src/targets/horus/x12s_adc_driver.cpp