From 372532ec16b09a0fa78ef0ffe498a7a9207a738d Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Thu, 16 Jan 2025 00:48:40 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/cmd_gpio_set.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ESP32-Console/main/cmd_gpio_set.h b/ESP32-Console/main/cmd_gpio_set.h index cdda5ffdc..2d25df146 100644 --- a/ESP32-Console/main/cmd_gpio_set.h +++ b/ESP32-Console/main/cmd_gpio_set.h @@ -14,10 +14,10 @@ static void register_gpio(void); gpio_config_t pin_config; static struct { - struct arg_int *gpio; - struct arg_str *mode; - struct arg_int *level; - struct arg_int *pwm; + struct arg_int *gpio; // Stores GPIO number + struct arg_str *mode; // Stores Input or Output mode + struct arg_int *level; // Stores HIGH or LOW level + struct arg_int *pwm; // Stores cycle duty value (PWM) struct arg_end *end; } gpio_set_args; static int exec_gpio_set_cmd (int argc, char **argv) {