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

Fix usage of CRTSCTS define from termios.h #6173

Merged
merged 1 commit into from
Dec 26, 2016
Merged

Conversation

LorenzMeier
Copy link
Member

NuttX had the CRTSCTS define incorrectly set for only output flow control, which broke our flow control logic. This commit patches NuttX and puts in addition a guard in place to prevent any future issue with the non-POSIX define being incorrect.

@ecmnet Could you quickly test this and provide the output of mavlink status? Give it 15 seconds or so to auto-disable flow control if your link does not support flow control. Do you have the flow control lines connected and does your radio link support flow control?

@ecmnet
Copy link
Contributor

ecmnet commented Dec 26, 2016

@LorenzMeier I tested branch flwctrl_fix and it fixed the issue:

mavlinkstatus

Instance #2 now shows a rate multiplier of 1.0. I also tested the companion connection with success.

@LorenzMeier
Copy link
Member Author

Awesome, thanks! I also attributed your contribution in finding and fixing this in the commit.

NuttX had the CRTSCTS define incorrectly set for only output flow control, which broke our flow control logic. This commit patches NuttX and puts in addition a guard in place to prevent any future issue with the non-POSIX define being incorrect.

This has been debugged and identified by @ecmnet, which was the main contribution for this patch.
@LorenzMeier LorenzMeier merged commit 8a58cf0 into master Dec 26, 2016
@LorenzMeier LorenzMeier deleted the flowctrl_fix branch December 26, 2016 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants