AP_Frsky_Telem: don't use flow control for FrSky

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
This commit is contained in:
Andrew Tridgell 2015-01-29 15:53:41 +11:00
parent 362b53e1da
commit 1d272e5a32
1 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,11 @@ void AP_Frsky_Telem::init(const AP_SerialManager& serial_manager)
_sport_status = 0;
hal.scheduler->register_io_process(AP_HAL_MEMBERPROC(&AP_Frsky_Telem::sport_tick));
}
if (_port != NULL) {
// we don't want flow control for either protocol
_port->set_flow_control(AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE);
}
}
/*