ESP32-Console

This commit is contained in:
2025-01-15 10:12:33 -05:00
parent 6ae392e577
commit 3eb21b9f31

View File

@@ -149,8 +149,8 @@ static void register_set_gpio (void) {
gpio_set_args.pwm = arg_int0("f", "pwm", "<num>", "Set PWM for GPIO."); gpio_set_args.pwm = arg_int0("f", "pwm", "<num>", "Set PWM for GPIO.");
gpio_set_args.end = arg_end(2); gpio_set_args.end = arg_end(2);
const esp_console_cmd_t gpio_set_cmd = { const esp_console_cmd_t gpio_set_cmd = {
.command = "gpio", .command = "gpio-set",
.help = "Sets/Gets GPIOs", .help = "Sets GPIOs logic levels",
.hint = NULL, .hint = NULL,
.func = &exec_gpio_set_cmd, .func = &exec_gpio_set_cmd,
.argtable = &gpio_set_args .argtable = &gpio_set_args