AP_Arming: notify logging system of an arming failure

This commit is contained in:
Andrew Tridgell 2019-06-11 07:55:44 +10:00
parent dd3eec2a38
commit 8fc8bc4d84

View File

@ -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;
}