ardupilot/libraries/SRV_Channel/SRV_Channel_config.h

16 lines
286 B
C

#pragma once
#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
#else
#define NUM_SERVO_CHANNELS 16
#endif
#endif