feat: User configurable audio mute (#3719)
* feat: User configurable audio mute (#3703 port to main) * chore: Add translations
This commit is contained in:
@@ -126,6 +126,13 @@ void RadioHardwarePage::build(FormWindow * window)
|
||||
new StaticText(line, rect_t{}, STR_JITTER_FILTER, 0, COLOR_THEME_PRIMARY1);
|
||||
new CheckBox(line, rect_t{}, GET_SET_INVERTED(g_eeGeneral.noJitterFilter));
|
||||
|
||||
#if defined(AUDIO_MUTE_GPIO)
|
||||
// Mute audio
|
||||
line = window->newLine(&grid);
|
||||
new StaticText(line, rect_t{}, STR_AUDIO_MUTE, 0, COLOR_THEME_PRIMARY1);
|
||||
new CheckBox(line, rect_t{}, GET_SET_DEFAULT(g_eeGeneral.audioMuteEnable));
|
||||
#endif
|
||||
|
||||
#if defined(HARDWARE_INTERNAL_MODULE)
|
||||
new Subtitle(window, rect_t{}, STR_INTERNALRF, 0, COLOR_THEME_PRIMARY1);
|
||||
auto intMod = new InternalModuleWindow(window);
|
||||
|
||||
Reference in New Issue
Block a user