From 2fb4274ebc515f127d1c202d44d17f3004dda391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Fri, 3 Jan 2020 14:40:35 +0100 Subject: [PATCH] oled_text: remove blinking on OLED update --- lib/oled_text.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/oled_text.c b/lib/oled_text.c index b496132..3f02895 100644 --- a/lib/oled_text.c +++ b/lib/oled_text.c @@ -55,6 +55,7 @@ void oled_text_setup(void) #endif oled_text_update(); // send display buffer }; + oled_ssd1306_on(); // switch display back on } void oled_text_clear(void) @@ -138,8 +139,6 @@ void oled_text_line(const char* text, uint8_t line_nb) void oled_text_update(void) { if (oled_text_present) { // only do something if the display is present - oled_ssd1306_off(); // switch display off to not see the update oled_ssd1306_display(oled_text_display, LENGTH(oled_text_display)); // send current display buffer - oled_ssd1306_on(); // switch display back on } }