summaryrefslogtreecommitdiff
path: root/src/DisplayApp/LittleVgl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DisplayApp/LittleVgl.cpp')
-rw-r--r--src/DisplayApp/LittleVgl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DisplayApp/LittleVgl.cpp b/src/DisplayApp/LittleVgl.cpp
index 50744acc..95794546 100644
--- a/src/DisplayApp/LittleVgl.cpp
+++ b/src/DisplayApp/LittleVgl.cpp
@@ -62,6 +62,8 @@ void LittleVgl::InitTouchpad() {
}
void LittleVgl::FlushDisplay(const lv_area_t *area, lv_color_t *color_p) {
+ ulTaskNotifyTake(pdTRUE, 500);
+
auto x = area->x1;
auto y = area->y1;
auto width = (area->x2-area->x1)+1;