1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 09:16:07 +03:00

Avoids initialisation of UART2 when PWM or PPM RX is used

This commit is contained in:
Martin Budden 2016-07-28 00:40:04 +01:00
parent 6dcefedde6
commit 5c1c64fc41
4 changed files with 14 additions and 5 deletions

View file

@ -100,6 +100,7 @@ typedef void serialConsumer(uint8_t);
//
// configuration
//
void serialInit(serialConfig_t *initialSerialConfig, bool softserialEnabled, serialPortIdentifier_e serialPortToDisable);
void serialRemovePort(serialPortIdentifier_e identifier);
uint8_t serialGetAvailablePortCount(void);
bool serialIsPortAvailable(serialPortIdentifier_e identifier);