mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Camera: removed set_blocking_writes
This commit is contained in:
parent
6e952bae17
commit
4087e0b215
@ -791,7 +791,6 @@ void AP_RunCam::start_uart()
|
||||
uart->configure_parity(0);
|
||||
uart->set_stop_bits(1);
|
||||
uart->set_flow_control(AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE);
|
||||
uart->set_blocking_writes(false); // updates run in the main thread
|
||||
uart->set_options(uart->get_options() | AP_HAL::UARTDriver::OPTION_NODMA_TX | AP_HAL::UARTDriver::OPTION_NODMA_RX);
|
||||
uart->begin(115200, 10, 10);
|
||||
uart->discard_input();
|
||||
|
Loading…
Reference in New Issue
Block a user