Do not complain about not yet ready for standby state. Fixes #2963

This commit is contained in:
Lorenz Meier 2015-10-10 01:14:42 +02:00
parent 2bbb1ad35f
commit 1ea5dd5851

View File

@ -1759,6 +1759,9 @@ int commander_thread_main(int argc, char *argv[])
if (arming_ret == TRANSITION_CHANGED) {
arming_state_changed = true;
} else if (arming_ret == TRANSITION_DENIED) {
/* do not complain if not allowed into standby */
arming_ret = TRANSITION_NOT_CHANGED;
}
}