mirror of https://github.com/ArduPilot/ardupilot
SRV_Channel: add define for SRV_Channels being compiled in or not
This commit is contained in:
parent
e22a00680b
commit
34603bbfd0
|
@ -2,6 +2,10 @@
|
|||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_SRV_CHANNELS_ENABLED
|
||||
#define AP_SRV_CHANNELS_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifndef NUM_SERVO_CHANNELS
|
||||
#if BOARD_FLASH_SIZE > 1024
|
||||
#define NUM_SERVO_CHANNELS 32
|
||||
|
|
Loading…
Reference in New Issue