Commit ab283612 authored by Pawel Spychalski (DzikuVx)'s avatar Pawel Spychalski (DzikuVx)
Browse files

Fix compilation (again)

parent dc7a002b
......@@ -805,6 +805,7 @@ void processRx(timeUs_t currentTimeUs)
// Function for loop trigger
void FAST_CODE taskGyro(timeUs_t currentTimeUs) {
// getTaskDeltaTime() returns delta time frozen at the moment of entering the scheduler. currentTime is frozen at the very same point.
// To make busy-waiting timeout work we need to account for time spent within busy-waiting loop
const timeDelta_t currentDeltaTime = getTaskDeltaTime(TASK_SELF);
......@@ -816,8 +817,6 @@ void FAST_CODE taskGyro(timeUs_t currentTimeUs) {
if (sensors(SENSOR_OPFLOW)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment