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

T3T1: fix old frame flickering when rising backlight #3806

Merged
merged 1 commit into from May 17, 2024

Conversation

TychoVrahe
Copy link
Contributor

the previous protection relied at bg_copy being finished, but after that, it takes some time for the panel to refresh and actually show the new data.

i am switching to time-based protection. We could also consider some more sophisticated approaches like measuring number of TE signals after copying the data, but it seems unnecessarily complicated.

To limit the impact, i am only adding the wait if the backlight value is going up - as this is where the risk is.

@TychoVrahe TychoVrahe self-assigned this May 8, 2024
@TychoVrahe TychoVrahe requested a review from prusnak as a code owner May 8, 2024 15:26
@TychoVrahe TychoVrahe requested review from cepetr and removed request for prusnak May 8, 2024 15:26
@TychoVrahe TychoVrahe changed the title fix old frame flickering when rising backlight T3T1: fix old frame flickering when rising backlight May 8, 2024
Copy link

github-actions bot commented May 8, 2024

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T2B1 Safe 3 3280 test(screens) main(screens) 2724
T3T1 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@TychoVrahe TychoVrahe force-pushed the tychovrahe/ui-t3t1/fix_flicker branch from ff58e57 to 8d13729 Compare May 17, 2024 07:43
@TychoVrahe TychoVrahe changed the base branch from ui-t3t1 to main May 17, 2024 07:43
@andrewkozlik andrewkozlik removed their request for review May 17, 2024 07:46
@TychoVrahe TychoVrahe merged commit 751390e into main May 17, 2024
1 check passed
@TychoVrahe TychoVrahe deleted the tychovrahe/ui-t3t1/fix_flicker branch May 17, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

None yet

2 participants