main: clean up startup logging

This commit is contained in:
Torrie Fischer 2023-12-11 07:51:10 +01:00
parent ad9d6649c9
commit 5a6809a723

View File

@ -105,12 +105,12 @@ void setup() {
Platform::setup();
Platform::bootSplash();
Log.notice(u8"💡 Starting FastLED...");
Log.notice(u8"💡 Starting FastLED on %d LEDs...", HardwareConfig::MAX_LED_NUM);
Platform::addLEDs(leds, HardwareConfig::MAX_LED_NUM);
// Tune in,
if (Platform::bootopts.isSafeMode) {
Log.error(u8"⚠️ Starting Figment in safe mode!!!");
Log.warning(u8"⚠️ Starting Figment in safe mode!!!");
runner = &SafeMode::safeModeApp;
FastLED.showColor(CRGB(5, 0, 0));
FastLED.show();
@ -131,7 +131,7 @@ void setup() {
Serial.flush();
runner->start();
Log.notice(u8"💽 %lu bytes of free RAM", Platform::freeRam());
Log.notice(u8"💽 %l bytes of free RAM", Platform::freeRam());
Log.notice(u8"🚀 Setup complete! Ready to rock and roll.");
Serial.flush();
}