WIP: Submenu support and handling

This commit is contained in:
Robin Dietzel 2023-01-06 09:27:53 +01:00
parent 053d35087d
commit a5e10bf0ea
2 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,6 @@
// Auto generated header file containing the last git revision
#define GIT_HASH "b92adab"
#define GIT_HASH "5232017"
#endif //FLOATPUMP_GIT_REVISION_TEMPLATE_H

View File

@ -28,7 +28,7 @@ namespace floatpump {
m_submenus.push_back(submenu);
}
/*
bool isSubmenu(int index) {
if(index > 0 && index < m_submenus.size()) {
return true;
@ -58,7 +58,7 @@ namespace floatpump {
return nullptr;
}
}
*/
LCD_I2C_Driver &m_driver;
std::vector<Menu_Entry> m_entries;