aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ST7565/gdisp_lld_ST7565.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/ST7565/gdisp_lld_ST7565.c')
-rw-r--r--drivers/gdisp/ST7565/gdisp_lld_ST7565.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gdisp/ST7565/gdisp_lld_ST7565.c b/drivers/gdisp/ST7565/gdisp_lld_ST7565.c
index 686d1aa2..dc0b1f84 100644
--- a/drivers/gdisp/ST7565/gdisp_lld_ST7565.c
+++ b/drivers/gdisp/ST7565/gdisp_lld_ST7565.c
@@ -155,6 +155,8 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
write_data(g, RAM(g) + (p*GDISP_SCREEN_WIDTH), GDISP_SCREEN_WIDTH);
}
release_bus(g);
+
+ g->flags &= ~GDISP_FLG_NEEDFLUSH;
}
#endif