ESP32-Console

This commit is contained in:
2025-01-15 22:23:21 -05:00
parent cebb91d604
commit b197f0b0d5

View File

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