figments: mainloop: better startup output
This commit is contained in:
parent
bb0f8619cb
commit
6df7e938cb
@ -104,13 +104,14 @@ MainLoop::start()
|
|||||||
{
|
{
|
||||||
s_instance = this;
|
s_instance = this;
|
||||||
Log.notice("Welcome to 🌕 Figment 0.3.0");
|
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();
|
Serial.flush();
|
||||||
for(auto task: scheduler) {
|
for(auto task: scheduler) {
|
||||||
Log.notice("** Starting %s", task->name);
|
Log.notice("** Starting %s", task->name);
|
||||||
task->start();
|
task->start();
|
||||||
}
|
}
|
||||||
loop();
|
loop();
|
||||||
|
Log.notice("*** Scheduler started.");
|
||||||
dispatch(InputEvent::ReadyToRoll);
|
dispatch(InputEvent::ReadyToRoll);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user