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

Fix restart method in radiodriver.py. #504

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Conversation

h4writer
Copy link
Contributor

Restart doesn't work anymore, since _RadioDriverThread expects a rate_limit. Fixing this by saving the rate_limit and reusing it here.

Restart doesn't work anymore, since _RadioDriverThread expects a rate_limit. Fixing this by saving the rate_limit and reusing it here.
@ToveRumar ToveRumar self-requested a review January 7, 2025 15:43
Initialize rate_limit to None, for good practice
@ToveRumar
Copy link
Contributor

I just added a initialization of the rate_limit variable. Just for good measure. Otherwise it looks good. Ill approve and merge this PR.

Thank you for your contribution!!

@ToveRumar ToveRumar merged commit a2df6b1 into bitcraze:master Feb 24, 2025
1 check passed
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