From 5d1fbdf9d30ffd2a091355c7e5d7e9c4d72ec49f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 1 Sep 2023 13:09:37 +1000 Subject: [PATCH] AP_Periph: define external hal symbol to correct compilation --- Tools/AP_Periph/hardpoint.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/AP_Periph/hardpoint.cpp b/Tools/AP_Periph/hardpoint.cpp index 5dfe1b3a50..c60d64ca81 100644 --- a/Tools/AP_Periph/hardpoint.cpp +++ b/Tools/AP_Periph/hardpoint.cpp @@ -2,6 +2,10 @@ #ifdef HAL_PERIPH_ENABLE_PWM_HARDPOINT +#include + +extern const AP_HAL::HAL &hal; + /* hardpoint support */