AP_BoardConfig: correct include of AP_Vehicle_Type

This commit is contained in:
Peter Barker 2019-08-07 14:26:11 +10:00 committed by Andrew Tridgell
parent 083d4ac3ea
commit 9aaa6c49fa
1 changed files with 7 additions and 4 deletions

View File

@ -16,12 +16,13 @@
* AP_BoardConfig - board specific configuration * AP_BoardConfig - board specific configuration
*/ */
#include <AP_HAL/AP_HAL.h>
#include <AP_Common/AP_Common.h>
#include <GCS_MAVLink/GCS.h>
#include "AP_BoardConfig.h" #include "AP_BoardConfig.h"
#include <stdio.h>
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_RTC/AP_RTC.h> #include <AP_RTC/AP_RTC.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>
#include <GCS_MAVLink/GCS.h>
#if HAL_WITH_UAVCAN #if HAL_WITH_UAVCAN
#include <AP_UAVCAN/AP_UAVCAN.h> #include <AP_UAVCAN/AP_UAVCAN.h>
@ -30,6 +31,8 @@
#endif #endif
#endif #endif
#include <stdio.h>
#ifndef BOARD_TYPE_DEFAULT #ifndef BOARD_TYPE_DEFAULT
#define BOARD_TYPE_DEFAULT PX4_BOARD_AUTO #define BOARD_TYPE_DEFAULT PX4_BOARD_AUTO
#endif #endif