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

Use a better compare for DataReceiver.RxEnable #1034

Open
wants to merge 3 commits into
base: pre-release
Choose a base branch
from

Conversation

bengineerd
Copy link
Contributor

@bengineerd bengineerd commented Jan 8, 2025

Description

This fixes a quirk where setting DataReceiver.RxEnable.set(0) would enable frame reception. RxEnable expects a boolean, but will accept an type and then exhibit this behavior. The key is to compare not RxEnable.value() instead of RxEnable.value() is False.

@bengineerd bengineerd changed the title Enhancements for some boolean LocalVariables Use a better compare for DataReceiver.RxEnable Jan 8, 2025
@ruck314 ruck314 changed the base branch from main to pre-release January 8, 2025 22:42
@bengineerd bengineerd requested a review from slacrherbst January 9, 2025 03:24
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.

1 participant