fix(isrm): add module options to ISRM/D16 (#2644)

Fixes #2597
This commit is contained in:
Raphael Coeffic
2022-10-31 10:48:33 +10:00
committed by GitHub
parent 6ea408230c
commit 61a69d5626
+10
View File
@@ -372,6 +372,16 @@ void ModuleWindow::updateModule()
}
});
}
#if defined(PXX2)
if (isModuleISRM(moduleIdx)) {
auto options = new TextButton(box, rect_t{}, LV_SYMBOL_SETTINGS);
options->setPressHandler([=]() {
new pxx2::ModuleOptions(Layer::back(), moduleIdx);
return 0;
});
}
#endif
}
}
#if defined(PXX2)