show no PSRAM free message when no PSRAM at all
This commit is contained in:
parent
50d126ea87
commit
2985c6e3ca
1 changed files with 4 additions and 2 deletions
|
@ -308,8 +308,10 @@ void setup() {
|
||||||
#if !defined(BUILD_FOR_RP2040)
|
#if !defined(BUILD_FOR_RP2040)
|
||||||
Serial.print(F("Free RAM after init: "));
|
Serial.print(F("Free RAM after init: "));
|
||||||
Serial.println(ESP.getFreeHeap());
|
Serial.println(ESP.getFreeHeap());
|
||||||
Serial.print(F("Free PSRAM: "));
|
if (psramFound()) {
|
||||||
Serial.println(ESP.getFreePsram());
|
Serial.print(F("Free PSRAM: "));
|
||||||
|
Serial.println(ESP.getFreePsram());
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(SHA2017)
|
#if !defined(SHA2017)
|
||||||
|
|
Loading…
Add table
Reference in a new issue