Skip to content

Commit

Permalink
AP_Arming: correct prearm check for mission storage file
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Apr 19, 2023
1 parent ef8ebd8 commit 81f3c6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Arming/AP_Arming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ bool AP_Arming::mission_checks(bool report)
mission != nullptr &&
(mission->failed_sdcard_storage() || StorageManager::storage_failed())) {
check_failed(ARMING_CHECK_MISSION, report, "Failed to open %s", AP_MISSION_SDCARD_FILENAME);
return false;
}
#endif

Expand Down

0 comments on commit 81f3c6a

Please sign in to comment.