Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to night mode does not refresh all screens #111

Closed
aly-fly opened this issue Dec 14, 2024 · 4 comments
Closed

Switching to night mode does not refresh all screens #111

aly-fly opened this issue Dec 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@aly-fly
Copy link
Owner

aly-fly commented Dec 14, 2024

After the night mode kicks in (integrated hardcoded lower brightness), screens are not updated.
Force update must be added into the code.

20241214_220025

@aly-fly aly-fly added the bug Something isn't working label Dec 14, 2024
@tgtechy
Copy link

tgtechy commented Jan 14, 2025

I ran into this same bug.
Thanks for putting the effort into the firmware and the documentation!

@Martinius79
Copy link
Collaborator

Sorry, I was really busy in the last weeks, but I will take care of this...

@Martinius79
Copy link
Collaborator

Fixed this problem with the PR #112

Problem was, that the precached image in the RAM was just "printed" to the TFT screen again, without having the "dimming" value applied again. Depending on the actual clock time, it drawed the wrong digit X-times to the screens and that stayed until the next redraw.
So invalidating the buffer to force a reload from SPIFFS is fixing this.

PR is in main now.

@aly-fly
Copy link
Owner Author

aly-fly commented Jan 20, 2025

Works! :)

@aly-fly aly-fly closed this as completed Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants