Browse Source

AP_Arming: notify logging system of an arming failure

mission-4.1.18
Andrew Tridgell 6 years ago
parent
commit
8fc8bc4d84
  1. 1
      libraries/AP_Arming/AP_Arming.cpp

1
libraries/AP_Arming/AP_Arming.cpp

@ -825,6 +825,7 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks) @@ -825,6 +825,7 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks)
//Can't do this from this class until there is a unified logging library
} else {
AP::logger().arming_failure();
armed = false;
}

Loading…
Cancel
Save