Skip to content

Allow turning screen off without reboot#284

Merged
G4lile0 merged 1 commit intotinygs:betafrom
bjpetit:screen-brightness
Jan 5, 2026
Merged

Allow turning screen off without reboot#284
G4lile0 merged 1 commit intotinygs:betafrom
bjpetit:screen-brightness

Conversation

@bjpetit
Copy link
Copy Markdown
Contributor

@bjpetit bjpetit commented Dec 31, 2025

Summary

In investigating why the screen was not tuning off when brightness was set to 0, I did a little refactoring.
This change moves the brightness logic out of msOverlay() and into displayUpdate().

With this change setting display brightness to 0 will turn the display off without needing to reboot.

Prior to this change setting the brightness from >0 to 0 will just disable display updates. Only a reboot will disable the display.

@G4lile0 G4lile0 merged commit 0fc5805 into tinygs:beta Jan 5, 2026
@G4lile0
Copy link
Copy Markdown
Collaborator

G4lile0 commented Jan 5, 2026

Thanks @bjpetit and Happy new year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants