1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

Merge pull request #3159 from martinbudden/bf_scheduler_reset

Fix in schedulerResetTaskStatistics
This commit is contained in:
Martin Budden 2017-05-27 07:06:29 +01:00 committed by GitHub
commit aa3f08ebae

View file

@ -209,7 +209,7 @@ void schedulerResetTaskStatistics(cfTaskId_e taskId)
} else if (taskId < TASK_COUNT) { } else if (taskId < TASK_COUNT) {
cfTasks[taskId].movingSumExecutionTime = 0; cfTasks[taskId].movingSumExecutionTime = 0;
cfTasks[taskId].totalExecutionTime = 0; cfTasks[taskId].totalExecutionTime = 0;
cfTasks[taskId].totalExecutionTime = 0; cfTasks[taskId].maxExecutionTime = 0;
} }
#endif #endif
} }