diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-26 10:14:36 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-26 10:14:36 +0200 |
commit | 4af4e4e1e5d7209819c1fb43508ddd1ebed4f9c7 (patch) | |
tree | 984ca1ac2404f116dad1d381718b2e8f5c0b4d6b /src/modules/commander | |
parent | 19fa79dcb1b3b34176341b3edb7187b6bb117aff (diff) | |
download | px4-firmware-4af4e4e1e5d7209819c1fb43508ddd1ebed4f9c7.tar.gz px4-firmware-4af4e4e1e5d7209819c1fb43508ddd1ebed4f9c7.tar.bz2 px4-firmware-4af4e4e1e5d7209819c1fb43508ddd1ebed4f9c7.zip |
Support additional payload commands and let commander ignore them
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/commander.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 74deda8cc..a5a772825 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -615,6 +615,11 @@ bool handle_command(struct vehicle_status_s *status_local, const struct safety_s case VEHICLE_CMD_PREFLIGHT_CALIBRATION: case VEHICLE_CMD_PREFLIGHT_SET_SENSOR_OFFSETS: case VEHICLE_CMD_PREFLIGHT_STORAGE: + case VEHICLE_CMD_CUSTOM_0: + case VEHICLE_CMD_CUSTOM_1: + case VEHICLE_CMD_CUSTOM_2: + case VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY: + case VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY: /* ignore commands that handled in low prio loop */ break; |