- simple_display: add possibility to show text when changing mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-13 10:10:45 +01:00
committed by Thilo Graf
parent 72514fd821
commit 833aed00fc

View File

@@ -465,8 +465,11 @@ void CLCD::showAudioProgress(const char, bool)
{
}
void CLCD::setMode(const MODES m, const char * const)
void CLCD::setMode(const MODES m, const char * const title)
{
if (strlen(title))
ShowText(title);
mode = m;
switch (m) {