Skip to content

Commit

Permalink
Fix IR sender glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
andreock committed Nov 21, 2024
1 parent 64b8f46 commit aff54a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/UI/navigation/IR/IRNavigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ void goto_ir_rc_emulator(const char *path) {
}

void goto_ir_rc_browser() {
gui->reset();
ir_rc_files = list_dir(open("/IR/signal_rc", "r"));
gui->reset();
file_browser_page =
new FileBrowserPage(ir_rc_files.size() + 1, 1, 1, gui->get_screen(), gui);
file_browser_page->display("IR RC Emulator", &ir_rc_files,
Expand All @@ -137,8 +137,8 @@ void go_back_to_ir_browser() {
}

void goto_ir_send() {
gui->reset();
ir_signal_files = list_dir(open("/IR/signals", "r"));
gui->reset();
file_browser_page = new FileBrowserPage(ir_signal_files.size() + 1, 1, 1,
gui->get_screen(), gui);
file_browser_page->display("IR File Browser", &ir_signal_files, send_signal,
Expand Down

0 comments on commit aff54a5

Please sign in to comment.