Merge pull request #2144 from blckmn/patch
Added define for turning on MSP on first UART for custom build
This commit is contained in:
commit
a1aa44945c
|
@ -453,6 +453,10 @@ void resetSerialConfig(serialConfig_t *serialConfig)
|
|||
}
|
||||
|
||||
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
||||
#if defined(USE_VCP) && defined(USE_MSP_UART)
|
||||
// This allows MSP connection via USART & VCP so the board can be reconfigured.
|
||||
serialConfig->portConfigs[1].functionMask = FUNCTION_MSP;
|
||||
#endif
|
||||
}
|
||||
|
||||
void resetRcControlsConfig(rcControlsConfig_t *rcControlsConfig)
|
||||
|
|
Loading…
Reference in New Issue