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

Moved RX functions pointers into rxRuntimeConfig.

This commit is contained in:
Martin Budden 2016-09-17 13:15:31 +01:00
parent ccc9a5a9d4
commit 40ebc5d0a7
23 changed files with 271 additions and 240 deletions

View file

@ -74,7 +74,7 @@ bool telemetryDetermineEnabledState(portSharing_e portSharing)
return enabled;
}
bool telemetryCheckRxPortShared(serialPortConfig_t *portConfig)
bool telemetryCheckRxPortShared(const serialPortConfig_t *portConfig)
{
return portConfig->functionMask & FUNCTION_RX_SERIAL && portConfig->functionMask & TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK;
}