mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
GCS_MAVLink: use chibios_hwdef.py to disable fence on AP_Periph
This commit is contained in:
parent
28592269ff
commit
54a4b7a98b
@ -260,7 +260,7 @@ void GCS::update_sensor_status_flags()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAL_BUILD_AP_PERIPH) && AP_FENCE_ENABLED
|
#if AP_FENCE_ENABLED
|
||||||
const AC_Fence *fence = AP::fence();
|
const AC_Fence *fence = AP::fence();
|
||||||
if (fence != nullptr) {
|
if (fence != nullptr) {
|
||||||
if (fence->sys_status_enabled()) {
|
if (fence->sys_status_enabled()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user