mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 11:37:36 +08:00
MAVLink: Always accept commands to avoid corner case with USB power
This commit is contained in:
@@ -357,7 +357,7 @@ public:
|
||||
|
||||
bool is_usb_uart() { return _is_usb_uart; }
|
||||
|
||||
bool accepting_commands() { return ((!_config_link_on) || (_mode == MAVLINK_MODE_CONFIG)); }
|
||||
bool accepting_commands() { return true; /* non-trivial side effects ((!_config_link_on) || (_mode == MAVLINK_MODE_CONFIG));*/ }
|
||||
|
||||
/**
|
||||
* Wether or not the system should be logging
|
||||
|
||||
Reference in New Issue
Block a user