mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
SRV_Channel: add define for SRV_Channels being compiled in or not
This commit is contained in:
committed by
Andrew Tridgell
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
|
||||
|
||||
Reference in New Issue
Block a user