diff options
| author | JF <jf@codingfield.com> | 2020-03-01 15:57:58 +0100 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-03-01 15:57:58 +0100 |
| commit | e285ba9972fc2e0c74457b01db28dba9cb88c4e2 (patch) | |
| tree | 055efbe02f1f9a3a90e673b793490c6277f30713 /src/DisplayApp/LittleVgl.cpp | |
| parent | 179b14f48c2c7506d1a7832899e134cc3868a41c (diff) | |
Fix double-buffering for spi display (it's actually using double-buffering, now)
Diffstat (limited to 'src/DisplayApp/LittleVgl.cpp')
| -rw-r--r-- | src/DisplayApp/LittleVgl.cpp | 2 |
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; |
