From e8b91c66b4a9691ec502aeac40246465a13cc520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C5=ABnas=20Ma=C5=BEeikis?= Date: Sat, 8 Jun 2019 09:45:45 +0300 Subject: Screen: possibly one line bug fix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some forgot to call .display() to actually push all the graphics to screen. Signed-off-by: Ramūnas Mažeikis --- src/device/screen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/device') diff --git a/src/device/screen.cpp b/src/device/screen.cpp index 2857161..8504ef2 100644 --- a/src/device/screen.cpp +++ b/src/device/screen.cpp @@ -70,6 +70,7 @@ void draw_lines(OLEDDisplay *screen, struct display_status *status) screen->clear(); screen->drawString(0, 0, status->first_line); screen->drawString(0, SCREEN_HEIGHT / 2, status->second_line); + screen->display(); } void update_lines(struct display_status *status) -- cgit v1.2.3