Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ function
Method
function
libraries/AP_JSButton/AP_JSButton.cpp:27–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
}
26
27
uint8_t JSButton::function(bool shift) const
28
{
29
if (shift) {
30
return _sfunction;
31
}
32
return _function;
33
}
34
35
void JSButton::set_default(button_function_t f, button_function_t sf)
36
{
Callers
6
TEST
Function · 0.80
run
Method · 0.80
has_disarm_function
Method · 0.80
transform_manual_control_to_rc_override
Method · 0.80
handle_jsbutton_press
Method · 0.80
handle_jsbutton_release
Method · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64