ESP32-Console

This commit is contained in:
2025-01-13 21:52:25 -05:00
parent 4dce9a971e
commit 80084fc49d

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 (strcmp(info_args.voltage->sval[0]) == 0) { if (strcmp(info_args.voltage->sval[0, "mV"]) == 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) {