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

Calling dmx_receive with wait_ticks=0 does never return data #87

Closed
arneboe opened this issue Aug 17, 2023 · 4 comments
Closed

Calling dmx_receive with wait_ticks=0 does never return data #87

arneboe opened this issue Aug 17, 2023 · 4 comments

Comments

@arneboe
Copy link
Contributor

arneboe commented Aug 17, 2023

From my understanding, if I call dmx_receive with wait_ticks=0 I should receive data when data has been received since the last time I called it. But that never happens. It always returns 0.
Is this a bug or is my understanding of the code incorrect? :)

@netmindz
Copy link

netmindz commented Aug 18, 2023

See usage: MoonModules/WLED#64

@someweisguy
Copy link
Owner

someweisguy commented Aug 18, 2023

From my understanding, if I call dmx_receive with wait_ticks=0 I should receive data when data has been received since the last time I called it. But that never happens. It always returns 0.

Your understanding is correct! I will investigate further (after I resolve #86 :P).

@someweisguy
Copy link
Owner

someweisguy commented Aug 19, 2023

Now that #86 appears to be resolved, I've tested the wait_ticks=0 behavior and it appears to be behaving as intended.

Are you still seeing any issues with this? I am using the latest commit on release/v3.1.

@arneboe
Copy link
Contributor Author

arneboe commented Aug 20, 2023

I am no longer seeing the issue on the latest commit on release/v3.1
Thanks!

@arneboe arneboe closed this as completed Aug 20, 2023
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

No branches or pull requests

3 participants