From f4828b2361f7bfa5cff716857915b256d52f47af Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Sat, 18 Feb 2023 16:16:35 +0100 Subject: [PATCH] main: print free ram with fps --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 81e3d9a..3496dde 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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(); }