Skip to content

Commit

Permalink
Merge pull request #279 from 3drobotics/ws-arm-OK
Browse files Browse the repository at this point in the history
Copter: report OK if pre-arm or arm checks are passing
  • Loading branch information
wsilva32 authored Oct 7, 2016
2 parents 3f9215e + ca254aa commit 29231d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ArduCopter/motors.pde
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,10 @@ static bool pre_arm_checks(bool display_failure)
#endif
}

if (display_failure) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: OK"));
}

return true;
}

Expand Down Expand Up @@ -723,6 +727,9 @@ static bool arm_checks(bool display_failure, bool arming_from_gcs)
}

// if we've gotten this far all is ok
if (display_failure) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("Arm: OK"));
}
return true;
}

Expand Down

0 comments on commit 29231d8

Please sign in to comment.