Working on migrating to using websockets for the UI
This commit is contained in:
@@ -47,14 +47,16 @@ void SystemTask::run()
|
||||
{
|
||||
serviceManager.begin();
|
||||
|
||||
|
||||
TickType_t lastWakeTime =
|
||||
xTaskGetTickCount();
|
||||
|
||||
|
||||
while(true)
|
||||
{
|
||||
serviceManager.update();
|
||||
// Time the length of the task:
|
||||
uint32_t start = micros();
|
||||
serviceManager.tick();
|
||||
uint32_t elapsed = micros() - start;
|
||||
|
||||
|
||||
vTaskDelayUntil(
|
||||
|
||||
Reference in New Issue
Block a user