Skip to content

Conversation

@fiam
Copy link
Member

@fiam fiam commented Jun 1, 2018

Sending 3 cycles and then pausing once still produces some sensor
lost warnings after 10-15 mins, but reducing it to 2 sensors/1 pause
seems to get rid of the problem. Since this reduces the effective data
rate by 33%, changes have been removed from the SmartPort driver and
moved to affect just FPort. This way, S.Port doesn't have suffer any
update rate reductions.

Fixes #3198 (hopefully for real this time)

@fiam fiam added this to the 2.0 milestone Jun 2, 2018
fiam added 2 commits June 8, 2018 17:01
Sending 3 cycles and then pausing once still produces some sensor
lost warnings after 10-15 mins, but reducing it to 2 sensors/1 pause
seems to get rid of the problem. Since this reduces the effective data
rate by 33%, changes have been removed from the SmartPort driver and
moved to affect just FPort. This way, S.Port doesn't have suffer any
update rate reductions.

Fixes #3198 (hopefully for real this time)
When calling it from the fport driver, the payload might be NULL in
some cases, causing an invalid dereference.

Found by @jirif on betaflight/betaflight#6060
@fiam fiam force-pushed the agh_fport_rest_period_2 branch from 86d4437 to df5d50d Compare June 8, 2018 16:01
@fiam fiam merged commit 609cdec into development Jun 9, 2018
@fiam fiam deleted the agh_fport_rest_period_2 branch June 9, 2018 20:57
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.

3 participants