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 } }