AP_RCProtocol: removed set_blocking_writes

This commit is contained in:
Andrew Tridgell 2023-07-07 18:46:52 +10:00
parent 8c6aa02b86
commit 36528cae57
2 changed files with 0 additions and 2 deletions

View File

@ -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());
}

View File

@ -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);
}
}