Added announcement of Brightness when changing from the Settings/Display menu.

md1702
vk7js 2022-09-02 17:08:35 +10:00 zatwierdzone przez Silvano Seva
rodzic 1e87493183
commit 04e7f044ff
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1719,6 +1719,7 @@ void ui_updateFSM(bool *sync_rtx)
{ {
case D_BRIGHTNESS: case D_BRIGHTNESS:
_ui_changeBrightness(-5); _ui_changeBrightness(-5);
vp_announceBrightness(state.settings.brightness, queueFlags);
break; break;
#ifdef SCREEN_CONTRAST #ifdef SCREEN_CONTRAST
case D_CONTRAST: case D_CONTRAST:
@ -1739,6 +1740,7 @@ void ui_updateFSM(bool *sync_rtx)
{ {
case D_BRIGHTNESS: case D_BRIGHTNESS:
_ui_changeBrightness(+5); _ui_changeBrightness(+5);
vp_announceBrightness(state.settings.brightness, queueFlags);
break; break;
#ifdef SCREEN_CONTRAST #ifdef SCREEN_CONTRAST
case D_CONTRAST: case D_CONTRAST: