Skip to content

Commit

Permalink
Merge pull request #97 from dronekit/arming-checks-fix
Browse files Browse the repository at this point in the history
Correct arming flags value in output
  • Loading branch information
peterbarker committed Jun 30, 2016
2 parents 33546ec + c4191ce commit 9b4b47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/analyzer_arming_checks.cpp
Expand Up @@ -38,7 +38,7 @@ void Analyzer_Arming_Checks::evaluate()
Analyzer_Arming_Checks_Result();
result->set_status(analyzer_status_fail);
result->set_reason("Some of the arming checks were disabled when the craft was armed");
result->add_evidence(string_format("Arming flags: %u", result->arming_check()));
result->add_evidence(string_format("Arming flags: %u", arming_check));
result->add_source(_data_sources.get("PARAM"));
result->add_source(_data_sources.get("ARMING"));

Expand Down

0 comments on commit 9b4b47b

Please sign in to comment.