Skip to content

Commit 4c1bdae

Browse files
committed
oops
1 parent 89c9dde commit 4c1bdae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

non_catalog_apps/wifi_deauther/scenes/wifi_deauther_scene_console_output.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ void wifi_deauther_scene_console_output_on_enter(void* context) {
5757
// Send command with newline '\n'
5858
if(app->is_command && app->selected_tx_string) {
5959
wifi_deauther_uart_tx(
60-
(uint8_t*)(app->selected_tx_string), strlen(app->selected_tx_string));
61-
wifi_deauther_uart_tx((uint8_t*)("\n"), 1);
60+
app->uart, (uint8_t*)(app->selected_tx_string), strlen(app->selected_tx_string));
61+
wifi_deauther_uart_tx(app->uart, (uint8_t*)("\n"), 1);
6262
}
6363
}
6464

@@ -85,6 +85,6 @@ void wifi_deauther_scene_console_output_on_exit(void* context) {
8585

8686
// Automatically stop the scan when exiting view
8787
if(app->is_command) {
88-
wifi_deauther_uart_tx((uint8_t*)("stopscan\n"), strlen("stopscan\n"));
88+
wifi_deauther_uart_tx(app->uart, (uint8_t*)("stopscan\n"), strlen("stopscan\n"));
8989
}
9090
}

0 commit comments

Comments
 (0)