From 2de044469f8b75487a9c79b817823ad553e07a65 Mon Sep 17 00:00:00 2001 From: Cole Smith Date: Fri, 22 Apr 2022 20:03:21 -0700 Subject: [PATCH] missed text render call in boot up after refactor --- kmk/extensions/peg_oled_display.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kmk/extensions/peg_oled_display.py b/kmk/extensions/peg_oled_display.py index d855406..389ae4d 100644 --- a/kmk/extensions/peg_oled_display.py +++ b/kmk/extensions/peg_oled_display.py @@ -132,7 +132,10 @@ class Oled(Extension): height=self._height, rotation=self.rotation, ) - self.renderOledImgLayer(0) + if self._toDisplay == OledDisplayMode.TXT: + self.renderOledTextLayer(0) + if self._toDisplay == OledDisplayMode.IMG: + self.renderOledImgLayer(0) return def before_matrix_scan(self, sandbox):