diff options
author | 2019-06-08 09:45:45 +0300 | |
---|---|---|
committer | 2019-06-08 09:45:45 +0300 | |
commit | e8b91c66b4a9691ec502aeac40246465a13cc520 (patch) | |
tree | 5c773e6a472ffc069e8209516aef9838150b1854 /src/device | |
parent | 30513e7a89cc2f9283458100dea298770c7d18de (diff) | |
download | usurpation-e8b91c66b4a9691ec502aeac40246465a13cc520.tar.gz usurpation-e8b91c66b4a9691ec502aeac40246465a13cc520.tar.bz2 usurpation-e8b91c66b4a9691ec502aeac40246465a13cc520.zip |
Screen: possibly one line bug fix.
Some <can't use the command line> forgot to call .display()
to actually push all the graphics to screen.
Signed-off-by: Ramūnas Mažeikis <ramunasnezinomas@gmail.com>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/screen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |