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 dmx_receive() block time and behavior #44

Merged
merged 16 commits into from
Feb 14, 2023

Conversation

someweisguy
Copy link
Owner

This fixes an issue where dmx_receive() wasn't properly receiving data when the block time was less than 3.

This also updates the receive behavior. Calls to dmx_receive() will now return 0 if new DMX data has not been received. Therefore, calling dmx_recieve() multiple times with a block time of 0 will fail unless the DMX driver receives a new packet.

@someweisguy
Copy link
Owner Author

This appears to work on ESP-IDF v5.0. It needs to be tested on ESP-IDF v4.4.

@someweisguy
Copy link
Owner Author

This has been tested and appears to work on ESP-IDF v4.4.

@someweisguy someweisguy merged commit 2f88cd6 into release/v3.0 Feb 14, 2023
@someweisguy someweisguy deleted the bugfix/dmx_receive branch February 14, 2023 02:29
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