diff --git a/memory.cpp b/memory.cpp index c4fafc4..64fa1ba 100644 --- a/memory.cpp +++ b/memory.cpp @@ -14,7 +14,7 @@ memory::memory(const uint32_t size): size(size) Serial.print(F("Memory size (in bytes, decimal): ")); Serial.println(size); - if (size > 12 * 8192) { + if (size > 12 * 8192 && psramFound()) { Serial.println(F("Using PSRAM")); is_psram = true;