Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ELRS bind command support #4907

Merged
merged 25 commits into from
Jun 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: improve (thanks @philmoz)
3djc authored and pfeerick committed May 30, 2024
commit fe40f3968ac4d9a62a92f914828722fc985a44b5
5 changes: 1 addition & 4 deletions radio/src/gui/colorlcd/module_setup.cpp
Original file line number Diff line number Diff line change
@@ -166,10 +166,7 @@ void ModuleWindow::checkEvents()
else if (isModuleELRS(moduleIdx))
bindButton->setText(STR_MODULE_BIND);

if (isModuleBindRangeAvailable(moduleIdx))
bindButton->show();
else
bindButton->hide();
bindButton->show(isModuleBindRangeAvailable(moduleIdx));
}
Window::checkEvents();
}