SRV_Channel: use minimize.inc to set NUM_SERVO_CHANNELS
This commit is contained in:
parent
fae7e41fe4
commit
7481f79438
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user