Closed frankiboy1 closed 2 years ago
When missing the start of the frame, the logic gets out of sync and will never recover. This fix utilizes the fact that packets are sent two seconds apart. If we timeout, the next byte will most likely be the start of a new packet.
This seems to work fine with my system. I'll merge and add some sensible debug messages, and make a release.
When missing the start of the frame, the logic gets out of sync and will never recover. This fix utilizes the fact that packets are sent two seconds apart. If we timeout, the next byte will most likely be the start of a new packet.