main: print free ram with fps
This commit is contained in:
parent
f0abdc0567
commit
f4828b2361
@ -477,7 +477,7 @@ void setup() {
|
||||
Serial.flush();
|
||||
runner->start();
|
||||
|
||||
//Log.info(u8"💽 %lu bytes of free RAM", System.freeMemory());
|
||||
Log.notice(u8"💽 %lu bytes of free RAM", Platform::freeRam());
|
||||
Log.notice(u8"🚀 Setup complete! Ready to rock and roll.");
|
||||
Serial.flush();
|
||||
}
|
||||
@ -485,7 +485,7 @@ void setup() {
|
||||
// Drop out.
|
||||
void loop() {
|
||||
EVERY_N_SECONDS(5) {
|
||||
Log.notice("FPS: %d", FastLED.getFPS());
|
||||
Log.notice("FPS: %d\tRAM: %d", FastLED.getFPS(), Platform::freeRam());
|
||||
}
|
||||
runner->loop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user