platform: auto-register figments, now that we have json config

This commit is contained in:
2023-02-18 16:18:57 +01:00
parent c351621d9d
commit eb4ff37580
3 changed files with 42 additions and 18 deletions

View File

@@ -140,7 +140,11 @@ Platform::bootSplash()
Log.trace("Registered tasks:");
auto it = beginTasks();
while (it != endTasks()) {
Log.trace((*it)->name);
if ((*it)->isFigment()) {
Log.trace(" Figment: %s", (*it)->name);
} else {
Log.trace(" %s", (*it)->name);
}
++it;
}
}