glcdsetup: change return value when switching the displays

Origin commit data
------------------
Commit: f76f7e65f5
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-14 (Sun, 14 Jun 2020)

Origin message was:
------------------
- glcdsetup: change return value when switching the displays
This commit is contained in:
vanhofen
2020-06-14 23:14:59 +02:00
parent 1b038520f8
commit f8ae8f096b

View File

@@ -140,7 +140,7 @@ int GLCD_Menu::exec(CMenuTarget* parent, const std::string & actionKey)
parent->hide();
GLCD_Menu_Select_Driver();
nglcd->Exit();
return res;
return menu_return::RETURN_EXIT;
}
if(actionKey == "select_font") {
if(parent)