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

Make rotation delay configurable #175

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

mtoman
Copy link
Contributor

@mtoman mtoman commented Aug 5, 2024

At this point we hardcode a 3 seconds delay before applying display rotation, which on some systems is not enough, while on other systems it is too much.

This patch exposes a ROTATE_DELAY variable that makes the delay configurable.

At this point we hardcode a 3 seconds delay before applying display
rotation, which on some systems is not enough, while on other systems
it is too much.

This patch exposes a `ROTATE_DELAY` variable that makes the delay
configurable.

Resolves: #171

Change-type: patch
Signed-off-by: Michal Toman <[email protected]>
@shaunmulligan
Copy link

@mtoman I ran this quickly on a pi3 I had connected to my display and it all seems to work correctly

@mtoman
Copy link
Contributor Author

mtoman commented Aug 9, 2024

I've also tested this on a Pi5 and it seems to work fine.

@mtoman
Copy link
Contributor Author

mtoman commented Aug 9, 2024

lgtm

@flowzone-app flowzone-app bot merged commit 3504af1 into master Aug 9, 2024
49 checks passed
@flowzone-app flowzone-app bot deleted the mtoman/rotate-delay branch August 9, 2024 09:16
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