mirror of https://github.com/ArduPilot/ardupilot
AP_Generator: disable feature due to flash space constraints
ArduPilot doesn't have room for every feature it can have, and hasn't for some time.
This commit is contained in:
parent
cd5a22b1ad
commit
e3801ad0e3
|
@ -3,7 +3,7 @@
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef HAL_GENERATOR_ENABLED
|
#ifndef HAL_GENERATOR_ENABLED
|
||||||
#define HAL_GENERATOR_ENABLED 1
|
#define HAL_GENERATOR_ENABLED BOARD_FLASH_SIZE > 2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AP_GENERATOR_BACKEND_DEFAULT_ENABLED
|
#ifndef AP_GENERATOR_BACKEND_DEFAULT_ENABLED
|
||||||
|
@ -23,5 +23,5 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AP_GENERATOR_RICHENPOWER_ENABLED
|
#ifndef AP_GENERATOR_RICHENPOWER_ENABLED
|
||||||
#define AP_GENERATOR_RICHENPOWER_ENABLED AP_GENERATOR_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024
|
#define AP_GENERATOR_RICHENPOWER_ENABLED AP_GENERATOR_BACKEND_DEFAULT_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue