infobar: rework infobar timeout behavior

Options were sometimes described ambiguously and previous behavior was no longer available.
Now the descriptions should be more plausible for current behavior.
This commit is contained in:
2018-04-10 10:25:24 +02:00
parent 6f02799b03
commit 557805bc40
12 changed files with 91 additions and 38 deletions

View File

@@ -164,7 +164,7 @@ void CVFD::wake_up() {
else
setPower(1);
if(g_settings.lcd_info_line){
switch_name_time_cnt = g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR] + 10;
switch_name_time_cnt = g_settings.handling_infobar[SNeutrinoSettings::HANDLING_INFOBAR] + 10;
}
}
@@ -609,7 +609,7 @@ void CVFD::setMode(const MODES m, const char * const title)
showServicename(servicename);
showclock = true;
if(g_settings.lcd_info_line)
switch_name_time_cnt = g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR] + 10;
switch_name_time_cnt = g_settings.handling_infobar[SNeutrinoSettings::HANDLING_INFOBAR] + 10;
break;
case MODE_AUDIO:
{