Implemented Bobbytasks

This commit is contained in:
CommanderRedYT
2022-01-17 13:01:09 +01:00
parent 1fe69c9161
commit 0415d90d1b
5 changed files with 51 additions and 43 deletions

View File

@@ -107,7 +107,8 @@ extern "C" void app_main()
for (auto &schedulerTask : schedulerTasks)
{
schedulerTask.loop();
if (schedulerTask.isInitialized())
schedulerTask.loop();
}
if (!lastStatsUpdate || now - *lastStatsUpdate >= 1000ms/configs.boardcomputerHardware.timersSettings.statsUpdateRate.value)