aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander/state_machine_helper.cpp
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-08-16 09:27:05 +0200
committerJulian Oes <julian@oes.ch>2013-08-16 09:27:05 +0200
commitec9de4ad84be8e62b762567c58ec3bb948684b43 (patch)
tree6200d4531f39037a0a0965b8b24f348886048de6 /src/modules/commander/state_machine_helper.cpp
parentd75c3c4e7369510db1d91721c2793c23dcd873fa (diff)
downloadpx4-firmware-ec9de4ad84be8e62b762567c58ec3bb948684b43.tar.gz
px4-firmware-ec9de4ad84be8e62b762567c58ec3bb948684b43.tar.bz2
px4-firmware-ec9de4ad84be8e62b762567c58ec3bb948684b43.zip
Critical voltage now leads to a proper arming state transition
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r--src/modules/commander/state_machine_helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp
index 163aceed2..ef3890b71 100644
--- a/src/modules/commander/state_machine_helper.cpp
+++ b/src/modules/commander/state_machine_helper.cpp
@@ -168,6 +168,8 @@ arming_state_transition(struct vehicle_status_s *status, const struct safety_s *
if (ret == TRANSITION_CHANGED) {
status->arming_state = new_arming_state;
arming_state_changed = true;
+ } else {
+ warnx("arming transition rejected");
}
}