figments: mainloop: warning--
This commit is contained in:
parent
6a388891f5
commit
828a6ef100
@ -88,7 +88,7 @@ MainLoop::loop()
|
||||
frameSpeed = millis() - frameStart;
|
||||
if (frameSpeed >= 23) { // TODO: Configure max frame time at build
|
||||
const char* slowestName = (slowestTask->name ? slowestTask->name : "(Unnamed)");
|
||||
Log.warning("Slow frame: %dms, %d tasks, longest task %s was %dms", frameSpeed, taskCount, slowestTask->name, slowest);
|
||||
Log.warning("Slow frame: %dms, %d tasks, longest task %s was %dms", frameSpeed, taskCount, slowestName, slowest);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user