1
0
Fork 0
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:
mikeller 2016-06-12 00:19:58 +12:00
parent 47d0705994
commit fefbc4d4bf
11 changed files with 156 additions and 28 deletions

View file

@ -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();