main: print free ram with fps

This commit is contained in:
Torrie Fischer 2023-02-18 16:16:35 +01:00
parent f0abdc0567
commit f4828b2361

View File

@ -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();
}