mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 17:03:33 +08:00
mavlink command: new option to completely disable hardware flow control (-Z) (#15566)
This commit is contained in:
@@ -344,7 +344,7 @@ public:
|
||||
*
|
||||
* @param enabled True if hardware flow control should be enabled
|
||||
*/
|
||||
int enable_flow_control(enum FLOW_CONTROL_MODE enabled);
|
||||
int setup_flow_control(enum FLOW_CONTROL_MODE enabled);
|
||||
|
||||
mavlink_channel_t get_channel() const { return _channel; }
|
||||
|
||||
@@ -679,7 +679,7 @@ private:
|
||||
|
||||
int mavlink_open_uart(const int baudrate = DEFAULT_BAUD_RATE,
|
||||
const char *uart_name = DEFAULT_DEVICE_NAME,
|
||||
const bool force_flow_control = false);
|
||||
const FLOW_CONTROL_MODE flow_control = FLOW_CONTROL_AUTO);
|
||||
|
||||
static constexpr unsigned RADIO_BUFFER_CRITICAL_LOW_PERCENTAGE = 25;
|
||||
static constexpr unsigned RADIO_BUFFER_LOW_PERCENTAGE = 35;
|
||||
|
||||
Reference in New Issue
Block a user