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:
parent
ccc9a5a9d4
commit
40ebc5d0a7
23 changed files with 271 additions and 240 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue