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 incorrect displayport_msp_serial default and add validation #10489

Merged

Conversation

etracer65
Copy link
Member

Was incorrectly defaulting to 0 which is UART1. Should be -1 (SERIAL_PORT_NONE).

Added validation to ensure the selected UART exists, has MSP enabled, and is appropriate (not VCP).

Was incorrectly defaulting to 0 which is UART1. Should be -1 (`SERIAL_PORT_NONE`).

Add validation to ensure the selected UART exists, has MSP enabled, and is appropriate (not VCP).
@etracer65
Copy link
Member Author

Should be merged together with #10490.

@mikeller mikeller added this to the 4.2.7 milestone Feb 14, 2021
@mikeller mikeller merged commit bd5c813 into betaflight:master Feb 14, 2021
mikeller added a commit that referenced this pull request Feb 14, 2021
…ation

Fix incorrect displayport_msp_serial default and add validation
@etracer65 etracer65 deleted the msp_displayport_serial_validation branch February 16, 2021 16:37
mikeller added a commit that referenced this pull request Oct 3, 2021
…ation

Fix incorrect displayport_msp_serial default and add validation
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