forked from Archive/PX4-Autopilot
Allow mixer upload when PWM is on
This commit is contained in:
parent
38f9c25e93
commit
589ae937ee
|
@ -358,8 +358,8 @@ static unsigned mixer_text_length = 0;
|
||||||
void
|
void
|
||||||
mixer_handle_text(const void *buffer, size_t length)
|
mixer_handle_text(const void *buffer, size_t length)
|
||||||
{
|
{
|
||||||
/* do not allow a mixer change while outputs armed */
|
/* do not allow a mixer change while safety off */
|
||||||
if ((r_status_flags & PX4IO_P_STATUS_FLAGS_OUTPUTS_ARMED)) {
|
if ((r_status_flags & PX4IO_P_STATUS_FLAGS_SAFETY_OFF)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue