mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_RCProtocol: removed set_blocking_writes
This commit is contained in:
parent
8c6aa02b86
commit
36528cae57
@ -578,7 +578,6 @@ void AP_RCProtocol_CRSF::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);
|
||||
_uart->set_options(_uart->get_options() & ~AP_HAL::UARTDriver::OPTION_RXINV);
|
||||
_uart->begin(get_bootstrap_baud_rate());
|
||||
}
|
||||
|
@ -318,7 +318,6 @@ void AP_RCProtocol_SRXL2::change_baud_rate(uint32_t baudrate)
|
||||
uart->begin(baudrate);
|
||||
uart->set_flow_control(AP_HAL::UARTDriver::FLOW_CONTROL_DISABLE);
|
||||
uart->set_unbuffered_writes(true);
|
||||
uart->set_blocking_writes(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user