We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f2f15 commit 2a6edd4Copy full SHA for 2a6edd4
circuitpython/utils/system.py
@@ -23,12 +23,10 @@ def decrease_brightness(app=None) -> None:
23
app.macropad.display.brightness = brightness
24
app.macropad.pixels.brightness = brightness
25
app.macropad.pixels.show()
26
- app.settings["brightness"] = brightness
27
28
def increase_brightness(app=None) -> None:
29
if app.macropad.display.brightness < 1:
30
brightness = (round(app.macropad.display.brightness * 10) + 1) / 10
31
32
33
- app.macropad.pixels.show()
34
+ app.macropad.pixels.show()
0 commit comments