mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue