mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Disabled MSP on first UART unless USE_MSP_UART defined
This commit is contained in:
parent
e570c4aba8
commit
4ad8e36bc8
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void pgResetFn_serialConfig(serialConfig_t *serialConfig)
|
|||
|
||||
serialConfig->portConfigs[0].functionMask = FUNCTION_MSP;
|
||||
|
||||
#ifdef USE_VCP
|
||||
#if defined(USE_VCP) && defined(USE_MSP_UART)
|
||||
if (serialConfig->portConfigs[0].identifier == SERIAL_PORT_USB_VCP) {
|
||||
serialPortConfig_t * uart1Config = serialFindPortConfiguration(SERIAL_PORT_USART1);
|
||||
if (uart1Config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue