MAVLink: Always accept commands to avoid corner case with USB power

This commit is contained in:
Lorenz Meier
2016-05-10 12:41:48 +02:00
parent 86a5244bc9
commit 06938064c1
+1 -1
View File
@@ -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