summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/infinity/drivers/gdisp
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-08 20:10:20 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-09 18:34:59 +0300
commit3eb8785e8770c07e6a4280c50240d5d951461911 (patch)
tree5d5adfe0f8bef36732667cf832f64bda936670c6 /keyboards/ergodox/infinity/drivers/gdisp
parent995002fa912545128625ec2d8c53cff5de560b97 (diff)
Add automatic flush for the LCD screen
Diffstat (limited to 'keyboards/ergodox/infinity/drivers/gdisp')
-rw-r--r--keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c b/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c
index 0de457a7ae..5b7b6d44c4 100644
--- a/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c
+++ b/keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c
@@ -262,6 +262,7 @@ LLDSPEC void gdisp_lld_blit_area(GDisplay *g) {
srcbit++;
}
}
+ g->flags |= GDISP_FLG_NEEDFLUSH;
}
#if GDISP_NEED_CONTROL && GDISP_HARDWARE_CONTROL