From 4dce9a971e54bf0db9afabb2dd3893ee33ae639e Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 21:52:14 -0500 Subject: [PATCH] ESP32-Console --- ESP32-Console/main/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index d048ed4e9..4ff8872d8 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -55,7 +55,7 @@ static int exec_info_cmd (int argc, char **argv) { ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35); } if (info_args.voltage->count != 0) { - if () { + if (strcmp(info_args.voltage->sval[0]) == 0) { ESP_LOGI("CLI", "Displaying voltage, [mV]."); } } if (info_args.current->count != 0) {