ESP32-Console

This commit is contained in:
2025-01-15 23:13:10 -05:00
parent 162af1bdee
commit b16ca4220e

View File

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