chore: improve translation string management (#6502)
This commit is contained in:
@@ -274,7 +274,7 @@ add_definitions(-DBATTGRAPH -DTHRTRACE)
|
||||
|
||||
foreach(LANGUAGE ${TTS_LANGUAGES})
|
||||
string(TOLOWER ${LANGUAGE} lang_lower)
|
||||
set(SRC ${SRC} translations/tts_${lang_lower}.cpp)
|
||||
set(SRC ${SRC} translations/tts/tts_${lang_lower}.cpp)
|
||||
endforeach()
|
||||
|
||||
set(SRC
|
||||
|
||||
@@ -52,4 +52,4 @@ extern uint16_t getBatteryVoltage(); // returns current battery voltage in 10m
|
||||
extern bool isChargerActive();
|
||||
extern void battery_charge_end();
|
||||
void rgbBatteryLevelInfo(uint8_t power_level, uint8_t rgb_state);
|
||||
void updateBatteryState(uint8_t rgb_state);
|
||||
void updateBatteryState(uint8_t rgb_state);
|
||||
|
||||
@@ -23,11 +23,10 @@
|
||||
#include "definitions.h"
|
||||
|
||||
#include "myeeprom.h"
|
||||
#include "translations.h"
|
||||
|
||||
#include "hal_adc_inputs.inc"
|
||||
#include "board.h"
|
||||
#include "edgetx.h"
|
||||
#include "hal_adc_inputs.inc"
|
||||
|
||||
void enableVBatBridge(){}
|
||||
void disableVBatBridge(){}
|
||||
|
||||
Reference in New Issue
Block a user