mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
CC3D - Allow MSP, CLI, etc on VCP and USART1 by default.
This commit is contained in:
parent
946f65601f
commit
b7f21ae6dd
1 changed files with 1 additions and 3 deletions
|
@ -265,10 +265,8 @@ void resetSerialConfig(serialConfig_t *serialConfig)
|
||||||
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
||||||
|
|
||||||
#ifdef CC3D
|
#ifdef CC3D
|
||||||
// Temporary workaround for CC3D non-functional VCP when using OpenPilot bootloader.
|
// This allows MSP connection via USART & VCP so the board can be reconfigured.
|
||||||
// This allows MSP connection via USART so the board can be reconfigured.
|
|
||||||
serialConfig->portConfigs[1].functionMask = FUNCTION_MSP;
|
serialConfig->portConfigs[1].functionMask = FUNCTION_MSP;
|
||||||
serialConfig->portConfigs[1].baudrate = 115200;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
serialConfig->reboot_character = 'R';
|
serialConfig->reboot_character = 'R';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue