diff --git a/ESP32-Console/main/cmd_scan_wifi.h b/ESP32-Console/main/cmd_scan_wifi.h index 0bfd2dad3..3d63f5d48 100644 --- a/ESP32-Console/main/cmd_scan_wifi.h +++ b/ESP32-Console/main/cmd_scan_wifi.h @@ -39,7 +39,7 @@ static void register_scan_wifi_cmd (void) { scan_wifi_args.ap_number = arg_int0("n", "num", "", "Specifies number of APs to scan."); // gpio_get_args.dump = arg_int0("d", "dump", "", "Outputs the GPIO dump."); scan_wifi_args.end = arg_end(5); - const esp_console_cmd_t gpio_get_cmd = { + const esp_console_cmd_t scan_wifi_cmd = { .command = "scan-wifi", .help = "Scans Wi-Fi access points.", .hint = NULL,