Skip to content

Commit

Permalink
chore(color): remove unused code (#5517)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Sep 8, 2024
1 parent 39ccd74 commit f0238e5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions radio/src/gui/colorlcd/module/module_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,21 +717,6 @@ class ModuleSubTypeChoice : public Choice
ModuleWindow* moduleWindow = nullptr;
};

static void update_module_window(lv_event_t* e)
{
ModuleWindow* mw = (ModuleWindow*)lv_event_get_user_data(e);
if (!mw) return;

auto module = mw->getModuleIdx();
if (isModuleISRM(module)) {
mw->updateModule();
} else {
mw->updateSubType();
}

pulsesModuleSettingsUpdate(module);
}

ModulePage::ModulePage(uint8_t moduleIdx) : Page(ICON_MODEL_SETUP)
{
const char* title2 =
Expand Down

0 comments on commit f0238e5

Please sign in to comment.