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

Display warning/error when changing packet and baud-rate too low #1672

Merged
merged 1 commit into from Jul 4, 2022

Conversation

pkendall64
Copy link
Collaborator

Problem

When a user changes the packet rate and the baud rate is too low, the packet rate doesn't "stick" and the user thinks it's a bug.

Solution

Display an error/warning message so the user is aware that the baud rate is too low.

Copy link
Collaborator

@wvarty wvarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on RM Zorro

GIVEN baud is 400k
WHEN the 1000hz option is selected in LUA
THEN the LUA shows the error message
PASS

GIVEN baud is 5.75M
AND the handset has been rebooted after changing baud
WHEN the 1000hz option is selected in LUA
THEN the rate changes to 1000hz, and the error message is not shown
PASS

GIVEN baud is 5.75M
AND the current rate is 1000hz
WHEN the baud is changed to 400k
AND the handset is rebooted
THEN the rate is F500
PASS

@JyeSmith
Copy link
Member

JyeSmith commented Jul 4, 2022

What Wez said, but with a TLite.

@AlessandroAU AlessandroAU merged commit 93fd5ee into ExpressLRS:3.x.x-maintenance Jul 4, 2022
@pkendall64 pkendall64 deleted the baud-warning branch July 21, 2022 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants