figments: mainloop: better startup output

This commit is contained in:
Torrie Fischer 2023-12-20 12:11:36 +01:00
parent bb0f8619cb
commit 6df7e938cb

View File

@ -104,13 +104,14 @@ MainLoop::start()
{
s_instance = this;
Log.notice("Welcome to 🌕 Figment 0.3.0");
Log.notice("*** Starting %d tasks...", scheduler.tasks.size());
Log.notice("*** Scheduling %d tasks...", scheduler.tasks.size());
Serial.flush();
for(auto task: scheduler) {
Log.notice("** Starting %s", task->name);
task->start();
}
loop();
Log.notice("*** Scheduler started.");
dispatch(InputEvent::ReadyToRoll);
}