MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / MAVLinkSerial

Method MAVLinkSerial

RemoteIDModule/mavlink.cpp:33–38  ·  view source on GitHub ↗

abstraction for MAVLink on a serial port */

Source from the content-addressed store, hash-verified

31 abstraction for MAVLink on a serial port
32 */
33MAVLinkSerial::MAVLinkSerial(HardwareSerial &_serial, mavlink_channel_t _chan) :
34 serial(_serial),
35 chan(_chan)
36{
37 serial_ports[uint8_t(_chan - MAVLINK_COMM_0)] = &serial;
38}
39
40void MAVLinkSerial::init(void)
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected