diff options
author | Julian Oes <julian@oes.ch> | 2014-11-11 10:25:53 +1000 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-11-11 10:25:53 +1000 |
commit | fa5f3658828280f54a7fec3c33ec3e25e4198561 (patch) | |
tree | 7ab28e2610e3b0f7b28fb21e2ec0556b977d0041 /src/modules | |
parent | e474600978f0fe92de79622a746d06f2c9df77a9 (diff) | |
download | px4-firmware-fa5f3658828280f54a7fec3c33ec3e25e4198561.tar.gz px4-firmware-fa5f3658828280f54a7fec3c33ec3e25e4198561.tar.bz2 px4-firmware-fa5f3658828280f54a7fec3c33ec3e25e4198561.zip |
state_machine_helper: fixed comments
Diffstat (limited to 'src/modules')
-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 3553dcdc3..e1a626262 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -520,7 +520,7 @@ bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_en } else if (status->engine_failure) { status->nav_state = NAVIGATION_STATE_AUTO_LANDENGFAIL; - /* check for RC signal and datalink lost (with datalink enabled) after mission is finished */ + /* check for RC signal and datalink lost (with datalink enabled) */ } else if ((status->data_link_lost && data_link_loss_enabled) && status->rc_signal_lost) { status->failsafe = true; @@ -534,7 +534,7 @@ bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_en status->nav_state = NAVIGATION_STATE_TERMINATION; } - /* check if RC signal is lost (with dataink disabled) after mission is finished*/ + /* check if RC signal is lost (with datalink disabled) after mission is finished */ } else if (!data_link_loss_enabled && status->rc_signal_lost && mission_finished) { status->failsafe = true; |