mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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)
|
||||
#define NUM_SERVO_CHANNELS 0
|
||||
#else
|
||||
#if !HAL_MINIMIZE_FEATURES
|
||||
#if !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
|
||||
#define NUM_SERVO_CHANNELS 32
|
||||
#else
|
||||
#define NUM_SERVO_CHANNELS 16
|
||||
|
Loading…
Reference in New Issue
Block a user