diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index b1b738bfb..34699401a 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -36,6 +36,7 @@ static int exec_info_cmd (int argc, char **argv) { rtc_clk_cpu_freq_get_config(&freq_config); esp_chip_info_t chip_info; + esp_chip_info(&chip_info); uint32_t total_internal_memory = heap_caps_get_total_size(MALLOC_CAP_INTERNAL); uint32_t free_internal_memory = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);