mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
|
#ifndef AP_SRV_CHANNELS_ENABLED
|
||||||
|
#define AP_SRV_CHANNELS_ENABLED 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NUM_SERVO_CHANNELS
|
#ifndef NUM_SERVO_CHANNELS
|
||||||
#if BOARD_FLASH_SIZE > 1024
|
#if BOARD_FLASH_SIZE > 1024
|
||||||
#define NUM_SERVO_CHANNELS 32
|
#define NUM_SERVO_CHANNELS 32
|
||||||
|
Loading…
Reference in New Issue
Block a user