diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 7f7f3a7a4..9540b65bb 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -35,6 +35,8 @@ static int exec_info_cmd (int argc, char **argv) { rtc_cpu_freq_config_t freq_config; rtc_clk_cpu_freq_get_config(&freq_config); + esp_chip_info_t 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);