mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Merge pull request #3226 from jflyper/bfdev-add-uartPinConfigure-for-osd_slave
Fix OSD slave serial port initialisation
This commit is contained in:
commit
d68a72da92
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,10 @@ void init(void)
|
|||
busSwitchInit();
|
||||
#endif
|
||||
|
||||
#if defined(USE_UART) && !defined(SITL)
|
||||
uartPinConfigure(serialPinConfig());
|
||||
#endif
|
||||
|
||||
serialInit(false, SERIAL_PORT_NONE);
|
||||
|
||||
#ifdef BEEPER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue