1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 09:16:07 +03:00

Allow all buad rates via VCP since baud rate doesn't matter for VCP.

This commit is contained in:
Dominic Clifton 2014-06-03 13:05:18 +01:00
parent 8f2da892a6
commit 0dc476a999

View file

@ -55,7 +55,7 @@ static serialPortFunction_t serialPortFunctions[SERIAL_PORT_COUNT] = {
};
const static serialPortConstraint_t serialPortConstraints[SERIAL_PORT_COUNT] = {
{SERIAL_PORT_USB_VCP, 115200, 115200, SPF_NONE },
{SERIAL_PORT_USB_VCP, 9600, 115200, SPF_NONE },
{SERIAL_PORT_USART1, 9600, 115200, SPF_NONE | SPF_SUPPORTS_SBUS_MODE },
{SERIAL_PORT_USART2, 9600, 115200, SPF_SUPPORTS_CALLBACK | SPF_SUPPORTS_SBUS_MODE},
{SERIAL_PORT_SOFTSERIAL1, 9600, 19200, SPF_SUPPORTS_CALLBACK | SPF_IS_SOFTWARE_INVERTABLE},