From ee56d90f959381578766319d60527d1e8d43e26c Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Fri, 13 Sep 2024 16:47:31 +0100 Subject: [PATCH] AP_Arming: HAL_RUNCAM_ENABLED -> AP_CAMERA_RUNCAM_ENABLED --- libraries/AP_Arming/AP_Arming.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 4b058abe53..cc6e93dab3 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -1291,7 +1291,7 @@ bool AP_Arming::fence_checks(bool display_failure) } #endif // AP_FENCE_ENABLED -#if HAL_RUNCAM_ENABLED +#if AP_CAMERA_RUNCAM_ENABLED bool AP_Arming::camera_checks(bool display_failure) { if (check_enabled(ARMING_CHECK_CAMERA)) { @@ -1309,7 +1309,7 @@ bool AP_Arming::camera_checks(bool display_failure) } return true; } -#endif // HAL_RUNCAM_ENABLED +#endif // AP_CAMERA_RUNCAM_ENABLED #if OSD_ENABLED bool AP_Arming::osd_checks(bool display_failure) const @@ -1603,7 +1603,7 @@ bool AP_Arming::pre_arm_checks(bool report) #if HAL_PROXIMITY_ENABLED & proximity_checks(report) #endif -#if HAL_RUNCAM_ENABLED +#if AP_CAMERA_RUNCAM_ENABLED & camera_checks(report) #endif #if OSD_ENABLED