Enable MSP on first non USB VCP serial port for all VCP targets by

default.  This also helps with 1WIRE passthough as VCP to 1WIRE is not
implemented yet.
This commit is contained in:
Dominic Clifton 2015-12-02 12:36:38 +00:00 committed by borisbstyle
parent 67e425f416
commit ea0df5d1a1
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ void resetSerialConfig(serialConfig_t *serialConfig)
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
#if defined(CC3D) || defined(SPRACINGF3MINI)
#if defined(USE_VCP)
// This allows MSP connection via USART & VCP so the board can be reconfigured.
serialConfig->portConfigs[1].functionMask = FUNCTION_MSP;
#endif