ESP32-Console

This commit is contained in:
2025-01-13 21:52:14 -05:00
parent 051d7bb0e3
commit 4dce9a971e

View File

@@ -55,7 +55,7 @@ static int exec_info_cmd (int argc, char **argv) {
ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35); ESP_LOGW("CLI", "info(): Chip Temperature: %d", 35);
} }
if (info_args.voltage->count != 0) { if (info_args.voltage->count != 0) {
if () { if (strcmp(info_args.voltage->sval[0]) == 0) {
ESP_LOGI("CLI", "Displaying voltage, [mV]."); } ESP_LOGI("CLI", "Displaying voltage, [mV]."); }
} }
if (info_args.current->count != 0) { if (info_args.current->count != 0) {