mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Graft of 'serial_rx_telemetry_on_same_port' into development for flight testing by @blckmn.
This commit is contained in:
parent
47d0705994
commit
fefbc4d4bf
11 changed files with 156 additions and 28 deletions
|
@ -74,6 +74,13 @@ bool telemetryDetermineEnabledState(portSharing_e portSharing)
|
|||
return enabled;
|
||||
}
|
||||
|
||||
bool telemetryCheckRxPortShared(serialPortConfig_t *portConfig)
|
||||
{
|
||||
return portConfig->functionMask & FUNCTION_RX_SERIAL && portConfig->functionMask & TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK;
|
||||
}
|
||||
|
||||
serialPort_t *telemetrySharedPort = NULL;
|
||||
|
||||
void telemetryCheckState(void)
|
||||
{
|
||||
checkFrSkyTelemetryState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue