Merge pull request #2087 from blckmn/patch
Removed VCP default to using second serial (UART1 in most cases) to MSP
This commit is contained in:
commit
9af5b8d35a
|
@ -452,10 +452,6 @@ void resetSerialConfig(serialConfig_t *serialConfig)
|
||||||
}
|
}
|
||||||
|
|
||||||
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
||||||
#if defined(USE_VCP)
|
|
||||||
// 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)
|
void resetRcControlsConfig(rcControlsConfig_t *rcControlsConfig)
|
||||||
|
|
Loading…
Reference in New Issue