SRV_Channel: use minimize.inc to set NUM_SERVO_CHANNELS

This commit is contained in:
Peter Barker 2022-12-01 11:36:11 +11:00 committed by Peter Barker
parent fae7e41fe4
commit 7481f79438

View File

@ -3,7 +3,7 @@
#include <AP_HAL/AP_HAL.h>
#ifndef NUM_SERVO_CHANNELS
#if !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#if BOARD_FLASH_SIZE > 1024
#define NUM_SERVO_CHANNELS 32
#else
#define NUM_SERVO_CHANNELS 16