Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ clear
Method
clear
libraries/AP_Scripting/AP_Scripting_SerialDevice.cpp:39–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
}
38
39
void AP_Scripting_SerialDevice::clear(void)
40
{
41
for (auto &p : ports) {
42
p.clear();
43
}
44
}
45
46
/*
47
initialise port
Callers
3
_discard_input
Method · 0.45
thread
Method · 0.45
detect_simplifications
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected