mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 16:00:18 +00:00
ESP32-Console
This commit is contained in:
@@ -44,10 +44,10 @@ static int exec_info_cmd (int argc, char **argv) {
|
|||||||
|
|
||||||
if (info_args.temp->count != 0) {
|
if (info_args.temp->count != 0) {
|
||||||
if (strcmp(info_args.temp->sval[0], "C") == 0) {
|
if (strcmp(info_args.temp->sval[0], "C") == 0) {
|
||||||
ESP_LOGI("CLI", "Displaying temperature in Celcius");
|
ESP_LOGI("CLI", "Displaying temperature in Celcius.");
|
||||||
}
|
}
|
||||||
if (strcmp(info_args.temp->sval[0], "C") == 0) {
|
if (strcmp(info_args.temp->sval[0], "F") == 0) {
|
||||||
ESP_LOGI("CLI", "Displaying temperature in Celcius");
|
ESP_LOGI("CLI", "Displaying temperature in Farenheight.");
|
||||||
}
|
}
|
||||||
//ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);
|
//ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user