mirror of https://github.com/ArduPilot/ardupilot
AP_Mount: viewpro and xacti only enabled on boards 2mb flash
This commit is contained in:
parent
d5977b6d96
commit
ca935ef47e
|
@ -42,9 +42,9 @@
|
|||
#endif
|
||||
|
||||
#ifndef HAL_MOUNT_XACTI_ENABLED
|
||||
#define HAL_MOUNT_XACTI_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED && HAL_ENABLE_DRONECAN_DRIVERS
|
||||
#define HAL_MOUNT_XACTI_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED && HAL_ENABLE_DRONECAN_DRIVERS && BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
||||
#ifndef HAL_MOUNT_VIEWPRO_ENABLED
|
||||
#define HAL_MOUNT_VIEWPRO_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED
|
||||
#define HAL_MOUNT_VIEWPRO_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue