AP_Periph: define external hal symbol to correct compilation

This commit is contained in:
Peter Barker 2023-09-01 13:09:37 +10:00 committed by Andrew Tridgell
parent c32d95cbfc
commit 5d1fbdf9d3

View File

@ -2,6 +2,10 @@
#ifdef HAL_PERIPH_ENABLE_PWM_HARDPOINT
#include <AP_HAL/AP_HAL.h>
extern const AP_HAL::HAL &hal;
/*
hardpoint support
*/