Closed abrenoch closed 6 years ago
If you try toggling on/off a few times does it eventually turn them off correctly? I've seen this too, but I think the problem is unrelated to these changes.
In the average color PR there is a fix for that behavior: a3dfb2aecb9534054ba20e2322b9ee5387f5cd9a
It does leverage a sleep again to try to address the issue, but maybe there is a better way to delay that thread/runnable. Implementing a delay there does seem to resolve the issue. I've really been trying to figure out why, but have been left scratching my head.
Interesting observation with the LED count - that would also explain why the average color behavior seemed more likely to exhibit that problem!
Thanks for reviewing!
Fixes the issue of the grabber status broadcast being sent before it has finished initializing