feat: simple global control for backlight/brightness and volume (#6684)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user