mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 18:40:21 +00:00
ESP32-Console
This commit is contained in:
@@ -48,6 +48,12 @@ static int exec_info_cmd (int argc, char **argv) {
|
||||
}
|
||||
ESP_LOGW("CLI", "info(): Chip Temperature: %d", 25);
|
||||
}
|
||||
|
||||
if (info_args.chip_temp->count != 0) {
|
||||
if (info_args.chip_temp->ival == 1) {
|
||||
ESP_LOGI("CLI", "Display temperature in Celcius");
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
static void register_info (void) {
|
||||
|
Reference in New Issue
Block a user