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

Method available

libraries/AP_Scripting/AP_Scripting_SerialAccess.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57uint32_t AP_Scripting_SerialAccess::available(void)
58{
59 if (!check_is_device_port()) {
60 return stream->available();
61 }
62 return ON_DEVICE_PORT(available);
63}
64
65void AP_Scripting_SerialAccess::set_flow_control(enum AP_HAL::UARTDriver::flow_control fcs)
66{

Callers 4

heap_allocatedMethod · 0.45
device_availableMethod · 0.45
_availableMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected