feat: simple global control for backlight/brightness and volume (#6684)

This commit is contained in:
philmoz
2026-01-04 17:56:50 +10:00
committed by GitHub
parent 586a567b0b
commit e80406b274
71 changed files with 812 additions and 374 deletions
+4
View File
@@ -434,6 +434,7 @@ enum FunctionsActive {
FUNCTION_RACING_MODE,
FUNCTION_DISABLE_TOUCH,
FUNCTION_DISABLE_AUDIO_AMP,
FUNCTION_VOLUME,
};
#define VARIO_FREQUENCY_ZERO 700/*Hz*/
@@ -891,3 +892,6 @@ extern bool modelTelemetryEnabled();
int pwrDelayFromYaml(int delay);
int pwrDelayToYaml(int delay);
void calcBacklightValue(int16_t source);
void calcVolumeValue(int16_t source);