mirror of https://github.com/ArduPilot/ardupilot
AP_Torqeedo: add and use AP_Generator_config.h
This commit is contained in:
parent
adc4bf66f8
commit
ff0c4133c6
|
@ -44,11 +44,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#ifndef HAL_TORQEEDO_ENABLED
|
||||
#define HAL_TORQEEDO_ENABLED !HAL_MINIMIZE_FEATURES && (BOARD_FLASH_SIZE > 1024) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
||||
#include "AP_Torqeedo_config.h"
|
||||
|
||||
#if HAL_TORQEEDO_ENABLED
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_TORQEEDO_ENABLED
|
||||
#define HAL_TORQEEDO_ENABLED !HAL_MINIMIZE_FEATURES && (BOARD_FLASH_SIZE > 1024) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
Loading…
Reference in New Issue