UI: wake up display on volume changes

This commit is contained in:
Grzegorz Kaczmarek 2025-01-20 22:14:16 +01:00 committed by Silvano Seva
parent 08a9f7adf0
commit d3329224a9
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
/*************************************************************************** /***************************************************************************
* Copyright (C) 2020 - 2023 by Federico Amedeo Izzo IU2NUO, * * Copyright (C) 2020 - 2025 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN * * Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO * * Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO * * Silvano Seva IU2KWO *
* Grzegorz Kaczmarek SP6HFE *
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
@ -2466,7 +2467,7 @@ void ui_updateFSM(bool *sync_rtx)
} }
#endif // CONFIG_GPS #endif // CONFIG_GPS
if (txOngoing || rtx_rxSquelchOpen()) if (txOngoing || rtx_rxSquelchOpen() || (state.volume != last_state.volume))
{ {
_ui_exitStandby(now); _ui_exitStandby(now);
return; return;