Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jan 20, 2024
1 parent 89c9dde commit 4c1bdae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ void wifi_deauther_scene_console_output_on_enter(void* context) {
// Send command with newline '\n'
if(app->is_command && app->selected_tx_string) {
wifi_deauther_uart_tx(
(uint8_t*)(app->selected_tx_string), strlen(app->selected_tx_string));
wifi_deauther_uart_tx((uint8_t*)("\n"), 1);
app->uart, (uint8_t*)(app->selected_tx_string), strlen(app->selected_tx_string));
wifi_deauther_uart_tx(app->uart, (uint8_t*)("\n"), 1);
}
}

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

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

0 comments on commit 4c1bdae

Please sign in to comment.