diff options
author | TickTock- <TjckTock@gmail.com> | 2014-04-28 21:47:45 -0700 |
---|---|---|
committer | TickTock- <TjckTock@gmail.com> | 2014-04-28 21:47:45 -0700 |
commit | 31089a290ba089b2b5cbcc76ed677e3f401ffa36 (patch) | |
tree | dfa7cc73cfa9b4d1b52f801aa05f66429c0ffa41 /src/modules/commander/state_machine_helper.cpp | |
parent | 269800b48c31d78fec900b4beaf3f655a8c18730 (diff) | |
download | px4-firmware-31089a290ba089b2b5cbcc76ed677e3f401ffa36.tar.gz px4-firmware-31089a290ba089b2b5cbcc76ed677e3f401ffa36.tar.bz2 px4-firmware-31089a290ba089b2b5cbcc76ed677e3f401ffa36.zip |
Replaces poshold/althold with posctrl/altctrl
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r-- | src/modules/commander/state_machine_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 21e36a87d..3b6d95135 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -215,7 +215,7 @@ main_state_transition(struct vehicle_status_s *status, main_state_t new_main_sta ret = TRANSITION_CHANGED; break; - case MAIN_STATE_ALTHOLD: + case MAIN_STATE_ALTCTRL: /* need at minimum altitude estimate */ if (!status->is_rotary_wing || @@ -226,7 +226,7 @@ main_state_transition(struct vehicle_status_s *status, main_state_t new_main_sta break; - case MAIN_STATE_POSHOLD: + case MAIN_STATE_POSCTRL: /* need at minimum local position estimate */ if (status->condition_local_position_valid || |