From 033c05e6cf25dde31dd12a84b12efbc86c794c47 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Mon, 13 Jan 2025 21:52:36 -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 37fd28958..1d5903d09 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 (strcmp(info_args.voltage->sval[0, "mV"]) == 0) { + if (strcmp(info_args.voltage->sval[0], "mV") == 0) { ESP_LOGI("CLI", "Displaying voltage, [mV]."); } } if (info_args.current->count != 0) {