ardupilot/libraries/SRV_Channel/SRV_Channel_config.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
286 B
C
Raw Permalink Normal View History

#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