menuinformation site - add second action
inherit lcd Wrapper
This commit is contained in:
@@ -20,3 +20,10 @@ void MenuControl::print(String lineOne, String lineTwo) const {
|
||||
lcd->print(lineTwo.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void MenuControl::setParentMenu(MenuControl* menu) {
|
||||
this->parentMenu = menu;
|
||||
DisplayWrapper* lcd = this->parentMenu->getLcd();
|
||||
if (lcd)
|
||||
this->lcd = lcd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user