aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/commander')
-rw-r--r--src/modules/commander/commander.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp
index cf7ba757e..58995fcec 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -592,11 +592,11 @@ bool handle_command(struct vehicle_status_s *status, const struct safety_s *safe
answer_command(*cmd, VEHICLE_CMD_RESULT_UNSUPPORTED);
break;
}
-
- if (result != VEHICLE_CMD_RESULT_UNSUPPORTED) {
- /* already warned about unsupported commands in "default" case */
- answer_command(*cmd, result);
- }
+ /* silently ignore unsupported commands, maybe they are passed on over mavlink */
+// if (result != VEHICLE_CMD_RESULT_UNSUPPORTED) {
+// /* already warned about unsupported commands in "default" case */
+// answer_command(*cmd, result);
+// }
/* send any requested ACKs */
if (cmd->confirmation > 0 && result != VEHICLE_CMD_RESULT_UNSUPPORTED) {