mirror of https://github.com/arendst/Tasmota.git
parent
50979c328c
commit
fb78c3a796
tasmota/tasmota_support
|
@ -576,7 +576,7 @@ 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_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || DISABLE_PSRAMCHECK
|
||||
#if CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || DISABLE_PSRAMCHECK || CORE32SOLO1
|
||||
return psramFound();
|
||||
#else
|
||||
return psramFound() && esp_psram_is_initialized();
|
||||
|
|
Loading…
Reference in New Issue