ESP32-Console

This commit is contained in:
2025-01-15 23:02:26 -05:00
parent dbd7f89b63
commit c48c78d671

View File

@@ -40,6 +40,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
gpio_dump_io_configuration(stdout, 1ULL << gpio_get_args.gpio->ival[0]);// 4); gpio_dump_io_configuration(stdout, 1ULL << gpio_get_args.gpio->ival[0]);// 4);
s = 0; s = 0;
} }
// Dump GPIO configuration information.
if (gpio_get_args.dump->count > 0) { if (gpio_get_args.dump->count > 0) {
printf("Printing GPIO dump ...\n"); printf("Printing GPIO dump ...\n");
printf("GPDIO: %d \n", gpio_get_args.dump->ival[0]); printf("GPDIO: %d \n", gpio_get_args.dump->ival[0]);