ESP32-Console

This commit is contained in:
2025-01-15 16:40:51 -05:00
parent a032743361
commit 62e451fce2
5 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
if (gpio_get_args.gpio != 0) {
//int *pin = gpio_get_args.gpio->ival;
//printf("GPIO: %d \n", *pin);
ESP_LOGI("gpio-get", "GPIO # %i", gpio_get_args.gpio->ival);
ESP_LOGI("gpio-get", "GPIO # %i", gpio_get_args.gpio->ival[0]);
gpio_dump_io_configuration(stdout, 1ULL << 4);//gpio_get_args.gpio->ival[0]);
s = 0;
}