abstraction for MAVLink on a serial port */
| 31 | abstraction for MAVLink on a serial port |
| 32 | */ |
| 33 | MAVLinkSerial::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 | |
| 40 | void MAVLinkSerial::init(void) |
| 41 | { |
nothing calls this directly
no outgoing calls
no test coverage detected