AP_Generator: correct config boards include

Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
This commit is contained in:
Peter Barker 2023-03-16 20:49:38 +11:00 committed by Peter Barker
parent 48544e3e70
commit 191e5eb9c9

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_GENERATOR_ENABLED #ifndef HAL_GENERATOR_ENABLED
#define HAL_GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES #define HAL_GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES