Update kmk/extensions/oled.py
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
This commit is contained in:
parent
f6ff00c087
commit
c401fccd30
@ -240,7 +240,7 @@ class Oled(Extension):
|
||||
self._powersave = False
|
||||
return
|
||||
|
||||
def _oled_bri(self, *args, **kwargs):
|
||||
def _oled_brightness_increase(self):
|
||||
self._display.brightness = (
|
||||
self._display.brightness + self._brightness_step
|
||||
if self._display.brightness + self._brightness_step <= 1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user