AP_Periph: include AP_ESC_Telem header

... since we insantiate one of these we should include its header
This commit is contained in:
Peter Barker 2023-05-04 08:38:38 +10:00 committed by Andrew Tridgell
parent 3e1388b7e6
commit 274379ea8a
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@
#include <AP_HAL/CANIface.h>
#include <AP_Stats/AP_Stats.h>
#include <AP_SerialManager/AP_SerialManager.h>
#include <AP_ESC_Telem/AP_ESC_Telem_config.h>
#if HAL_WITH_ESC_TELEM
#include <AP_ESC_Telem/AP_ESC_Telem.h>
#endif
#include <AP_NMEA_Output/AP_NMEA_Output.h>
#if HAL_NMEA_OUTPUT_ENABLED && !(HAL_GCS_ENABLED && defined(HAL_PERIPH_ENABLE_GPS))