AP_Periph: add missing include for AP_RTC

shouldn't be instantiating one of these without directly including the header.

Was being included transitively
This commit is contained in:
Peter Barker 2024-01-11 20:37:43 +11:00 committed by Peter Barker
parent 6ecb8ce023
commit 38a9960b31
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@
#if HAL_WITH_ESC_TELEM
#include <AP_ESC_Telem/AP_ESC_Telem.h>
#endif
#ifdef HAL_PERIPH_ENABLE_RTC
#include <AP_RTC/AP_RTC.h>
#endif
#include <AP_RCProtocol/AP_RCProtocol_config.h>
#include "rc_in.h"
#include "batt_balance.h"