add a uart to decode */
| 650 | add a uart to decode |
| 651 | */ |
| 652 | void AP_RCProtocol::add_uart(AP_HAL::UARTDriver* uart) |
| 653 | { |
| 654 | added.uart = uart; |
| 655 | added.uart->set_flow_control(AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE); |
| 656 | } |
| 657 | |
| 658 | // return true if a specific protocol is enabled |
| 659 | bool AP_RCProtocol::protocol_enabled(rcprotocol_t protocol) const |
no test coverage detected