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

Method option_is_set

libraries/AP_Scripting/lua_scripts.h:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 AP_Int8 & _debug_options;
91
92 bool option_is_set(AP_Scripting::DebugOption option) const {
93 return (uint8_t(_debug_options.get()) & uint8_t(option)) != 0;
94 }
95
96 static void *alloc(void *ud, void *ptr, size_t osize, size_t nsize);
97

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected