mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 20:15:02 +00:00
ESP32-Console
This commit is contained in:
@@ -137,10 +137,10 @@ static int exec_gpio_cmd (int argc, char **argv) {
|
||||
else {
|
||||
if (gpio_args.gpio != 0) {
|
||||
printf("GPIO %i", gpio_args.gpio->ival[0]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
static void register_gpio (void) {
|
||||
|
||||
gpio_args.gpio = arg_int0(NULL, "gpio", "<pin>", "Specifies GPIO to be used");
|
||||
|
Reference in New Issue
Block a user