MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / enabled_protocols

Method enabled_protocols

libraries/RC_Channel/RC_Channels.cpp:263–270  ·  view source on GitHub ↗

return mask of enabled protocols.

Source from the content-addressed store, hash-verified

261
262// return mask of enabled protocols.
263uint32_t RC_Channels::enabled_protocols() const
264{
265 if (_singleton == nullptr) {
266 // for example firmware
267 return 1U;
268 }
269 return uint32_t(_protocols.get());
270}
271
272#if AP_SCRIPTING_ENABLED
273/*

Callers 7

process_pulseMethod · 0.80
process_byteMethod · 0.80
check_added_uartMethod · 0.80
detect_async_protocolMethod · 0.80
send_rc_protocolsMethod · 0.80
control_failsafeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected