mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:40:52 +00:00
ESP32-Console
This commit is contained in:
@@ -32,6 +32,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
|
|||||||
else {
|
else {
|
||||||
if (gpio_get_args.gpio != 0) {
|
if (gpio_get_args.gpio != 0) {
|
||||||
printf((int)gpio_get_args.gpio->ival[0]);
|
printf((int)gpio_get_args.gpio->ival[0]);
|
||||||
|
ESP_LOGI("gpio-get", "GPIO # %i", (int)gpio_get_args.gpio->ival[0]);
|
||||||
gpio_dump_io_configuration(stdout, 1ULL << 4);//gpio_get_args.gpio->ival[0]);
|
gpio_dump_io_configuration(stdout, 1ULL << 4);//gpio_get_args.gpio->ival[0]);
|
||||||
s = 0;
|
s = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user