Add 5ms yield in loop() to allow beepTask and rfDecodeTask to run
This commit is contained in:
@@ -272,6 +272,9 @@ void loop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
loopCountSincePause++;
|
loopCountSincePause++;
|
||||||
|
|
||||||
|
/* yield to beepTask and rfDecodeTask between loop iterations */
|
||||||
|
vTaskDelay(pdMS_TO_TICKS(5));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* don't call from interrupt, set gbRestartRequest to true instead */
|
/* don't call from interrupt, set gbRestartRequest to true instead */
|
||||||
|
|||||||
Reference in New Issue
Block a user