model menu: re-enabled channel monitor

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 9c6b894985
commit a26cb68c4e
2 changed files with 11 additions and 1 deletions
+9
View File
@@ -63,3 +63,12 @@ ModelMenu::ModelMenu():
}
void ModelMenu::onEvent(event_t event)
{
#if defined(HARDWARE_KEYS)
if (event == EVT_KEY_FIRST(KEY_MODEL)) {
killEvents(event);
new ChannelsViewMenu();
}
#endif
}
+2 -1
View File
@@ -29,10 +29,11 @@ class ModelMenu : public TabsGroup
public:
ModelMenu();
void onEvent(event_t event);
#if defined(DEBUG_WINDOWS)
std::string getName() const override { return "ModelMenu"; }
#endif
};
#endif // _MENU_MODEL_H_