diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index e1b344408..105528a3d 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -126,7 +126,7 @@ static void register_gpio (void) { .command = "GPIO", .help = "Sets/Gets GPIOs", .hint = NULL, - .func = &exec, + .func = &exec_gpio_cmd, .argtable = &gpio_args }; }