Added define for turning on MSP on first UART when option set for custom build.
command line for custom firmware: make NAZE OPTIONS=USE_MSP_UART
This commit is contained in:
parent
704b12f297
commit
f541a10a5c
|
@ -452,6 +452,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