diff --git a/source/Core/Threads/OperatingModes/utils/GUIDelay.cpp b/source/Core/Threads/OperatingModes/utils/GUIDelay.cpp new file mode 100644 index 00000000..4a5840bf --- /dev/null +++ b/source/Core/Threads/OperatingModes/utils/GUIDelay.cpp @@ -0,0 +1,10 @@ + +#include "OperatingModeUtilities.h" + +void GUIDelay() { + // Called in all UI looping tasks, + // This limits the re-draw rate to the LCD and also lets the DMA run + // As the gui task can very easily fill this bus with transactions, which will + // prevent the movement detection from running + vTaskDelay(5 * TICKS_10MS); +} \ No newline at end of file