AP_Periph: fixed build for include changes

This commit is contained in:
Andrew Tridgell 2022-02-21 15:40:40 +11:00
parent 454879e638
commit 94d02faf37
7 changed files with 9 additions and 5 deletions

View File

@ -21,6 +21,7 @@
*/
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#include <stdio.h>

View File

@ -17,11 +17,7 @@
#include "hwing_esc.h"
#include <AP_CANManager/AP_CANManager.h>
#include <AP_Scripting/AP_Scripting.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <AP_HAL_ChibiOS/CANIface.h>
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <AP_HAL_SITL/CANSocketIface.h>
#endif
#include <AP_HAL/CANIface.h>
#if HAL_GCS_ENABLED
#include "GCS_MAVLink.h"

View File

@ -14,6 +14,7 @@
*/
#include "GCS_MAVLink.h"
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#if HAL_GCS_ENABLED

View File

@ -1,3 +1,5 @@
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
extern const AP_HAL::HAL &hal;

View File

@ -17,6 +17,7 @@
module over the UART
*/
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#ifdef HAL_PERIPH_ENABLE_ADSB

View File

@ -18,6 +18,7 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#include <canard.h>
#include <AP_GPS/RTCM3_Parser.h>
@ -29,6 +30,7 @@
#include <dronecan_msgs.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <hal.h>
#include "../AP_Bootloader/app_comms.h"
#include <AP_HAL_ChibiOS/CANIface.h>
#include <AP_HAL_ChibiOS/hwdef/common/stm32_util.h>

View File

@ -3,6 +3,7 @@
Thanks to input from Konstantin Sharlaimov
*/
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#ifdef HAL_PERIPH_ENABLE_MSP