mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 10:10:53 +00:00
wifi scan
This commit is contained in:
@@ -29,17 +29,8 @@ static int exec_scan_wifi_cmd(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Scan Wi-Fi
|
// Scan Wi-Fi
|
||||||
if (scan_wifi_args.gpio->count > 0) {
|
|
||||||
printf("\nScanning is in progress");
|
printf("\nScanning is in progress");
|
||||||
}
|
}
|
||||||
// Dump GPIO configuration information.
|
|
||||||
if (gpio_get_args.dump->count > 0) {
|
|
||||||
printf("Printing GPIO dump ...\n");
|
|
||||||
printf("GPDIO: %d \n", gpio_get_args.dump->ival[0]);
|
|
||||||
gpio_dump_io_configuration(stdout, 1ULL << gpio_get_args.dump->ival[0]);
|
|
||||||
s = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user