diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 14:43:10 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 14:43:10 +0100 |
commit | ef2efabbd46ec7d29dc4ff5363feea779b7b1c30 (patch) | |
tree | 2d47a4355388ade7b3ea6cf7cabf4197358b69cf /apps | |
parent | ac784dc6384f06a2adb1beaf549b48b06a5681cc (diff) | |
download | px4-firmware-ef2efabbd46ec7d29dc4ff5363feea779b7b1c30.tar.gz px4-firmware-ef2efabbd46ec7d29dc4ff5363feea779b7b1c30.tar.bz2 px4-firmware-ef2efabbd46ec7d29dc4ff5363feea779b7b1c30.zip |
Removed unlimited printing status message
Diffstat (limited to 'apps')
-rw-r--r-- | apps/commander/state_machine_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/commander/state_machine_helper.c b/apps/commander/state_machine_helper.c index 18337a4ee..ff4e6ec00 100644 --- a/apps/commander/state_machine_helper.c +++ b/apps/commander/state_machine_helper.c @@ -549,7 +549,6 @@ void update_state_machine_mode_manual(int status_pub, struct vehicle_status_s *c void update_state_machine_mode_stabilized(int status_pub, struct vehicle_status_s *current_status, const int mavlink_fd) { if (current_status->state_machine == SYSTEM_STATE_GROUND_READY || current_status->state_machine == SYSTEM_STATE_STABILIZED || current_status->state_machine == SYSTEM_STATE_MANUAL || current_status->state_machine == SYSTEM_STATE_AUTO) { - printf("[cmd] att stabilized mode\n"); int old_mode = current_status->flight_mode; int old_manual_control_mode = current_status->manual_control_mode; current_status->flight_mode = VEHICLE_FLIGHT_MODE_MANUAL; @@ -559,6 +558,7 @@ void update_state_machine_mode_stabilized(int status_pub, struct vehicle_status_ current_status->flag_control_manual_enabled = true; if (old_mode != current_status->flight_mode || old_manual_control_mode != current_status->manual_control_mode) { + printf("[cmd] att stabilized mode\n"); do_state_update(status_pub, current_status, mavlink_fd, (commander_state_machine_t)SYSTEM_STATE_MANUAL); state_machine_publish(status_pub, current_status, mavlink_fd); } |