Repository navigation
Wait for all channels to have data before marking channel data available - #3645
Merged
Merged
Conversation
This was referenced May 11, 2026
|
Hi Paul, I have tried several different PWM frequencies and it didn’t make any difference. Meanwhile I have tried the latest 4.01 firmware and it made no difference either. |
Contributor
|
Start Configurator and enable Expert Mode in the settings. Choose GIT PULL REQUEST and select the "Wait for all channels to have data before marking channel data available |
mha1
approved these changes
May 24, 2026
mha1
left a comment
Contributor
There was a problem hiding this comment.
Thanks for fixing this, works as advertised.
Before: The very first RC Channels packet with UNSET values for CH1-8
Opening com13 at 420000 baud...
Listening for CRSF packets...
CH01:2047 | CH02:2047 | CH03:2047 | CH04:2047 | CH05:2047 | CH06:2047 | CH07:2047 | CH08:2047 | CH09: 992 | CH10: 992 | CH11: 992 | CH12: 992 | CH13: 992 | CH14: 992 | CH15: 992 | CH16: 992
CH01: 172 | CH02: 988 | CH03: 992 | CH04: 992 | CH05: 172 | CH06: 988 | CH07: 992 | CH08: 992 | CH09: 992 | CH10: 992 | CH11: 992 | CH12: 992 | CH13: 992 | CH14: 992 | CH15: 992 | CH16: 992
After: The very first RC Channels packet with valid channel data for CH1-8, no UNSET vales
Opening com13 at 420000 baud...
Listening for CRSF packets...
CH01: 172 | CH02: 988 | CH03: 992 | CH04: 992 | CH05: 172 | CH06: 990 | CH07: 992 | CH08: 992 | CH09: 992 | CH10: 992 | CH11: 992 | CH12: 992 | CH13: 992 | CH14: 992 | CH15: 992 | CH16: 992
CH01: 172 | CH02: 988 | CH03: 992 | CH04: 992 | CH05: 172 | CH06: 990 | CH07: 992 | CH08: 992 | CH09: 992 | CH10: 992 | CH11: 992 | CH12: 992 | CH13: 992 | CH14: 992 | CH15: 992 | CH16: 992
deadbytefpv
approved these changes
Jun 17, 2026
This was
linked to
issues
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When an RX first starts receiving packets it will populate the channels that are in the packet, the problem here is that a packet does not contain all the channels. So what we see is that the channels that are not in the packet get random data (actually all 1's) which end up being sent to the flight controller.
See #3633
Solution
Before marking the flag that trigger new data available, ensure that none of the channels that the packet rate supports has an "unset" value.