diff --git a/tasmota/support_esp.ino b/tasmota/support_esp.ino index 7a8a26130..1547d04f8 100644 --- a/tasmota/support_esp.ino +++ b/tasmota/support_esp.ino @@ -472,7 +472,11 @@ extern "C" { // `psramFound()` can return true even if no PSRAM is actually installed // This new version also checks `esp_spiram_is_initialized` to know if the PSRAM is initialized bool FoundPSRAM(void) { +#if CONFIG_IDF_TARGET_ESP32C3 + return psramFound(); +#else return psramFound() && esp_spiram_is_initialized(); +#endif } // new function to check whether PSRAM is present and supported (i.e. required pacthes are present)