mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
SRV_Channel: only support 32 channels on 2M flash boards
save flash on smaller boards
This commit is contained in:
parent
e185e1252b
commit
aa9083e94c
@ -29,7 +29,7 @@
|
|||||||
#elif defined(HAL_BUILD_AP_PERIPH)
|
#elif defined(HAL_BUILD_AP_PERIPH)
|
||||||
#define NUM_SERVO_CHANNELS 0
|
#define NUM_SERVO_CHANNELS 0
|
||||||
#else
|
#else
|
||||||
#if !HAL_MINIMIZE_FEATURES
|
#if !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
||||||
#define NUM_SERVO_CHANNELS 32
|
#define NUM_SERVO_CHANNELS 32
|
||||||
#else
|
#else
|
||||||
#define NUM_SERVO_CHANNELS 16
|
#define NUM_SERVO_CHANNELS 16
|
||||||
|
Loading…
Reference in New Issue
Block a user