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

BLE Rx/Tx App Cleanup #1570

Merged
merged 19 commits into from
Nov 11, 2023
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
Removed &nav reference.
iNetro committed Nov 10, 2023
commit 05b84d8dcada9637f11c2f7f7083844adc4c32a2
8 changes: 4 additions & 4 deletions firmware/application/apps/ble_tx_app.cpp
Original file line number Diff line number Diff line change
@@ -336,12 +336,12 @@ BLETxView::BLETxView(NavigationView& nav)
random_mac = v;
};

button_open.on_select = [this, &nav](Button&) {
auto open_view = nav.push<FileLoadView>(".TXT");
open_view->on_changed = [this, &nav](std::filesystem::path new_file_path) {
button_open.on_select = [this](Button&) {
auto open_view = nav_.push<FileLoadView>(".TXT");
open_view->on_changed = [this](std::filesystem::path new_file_path) {
on_file_changed(new_file_path);

nav.set_on_pop([this]() { button_play.focus(); });
nav_.set_on_pop([this]() { button_play.focus(); });
};
};