1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-22 15:55:40 +03:00

USE_SERVO assumed always true (since it is) and removed

This commit is contained in:
Pawel Spychalski (DzikuVx) 2018-03-27 15:51:45 +02:00
parent 1d3c6c9195
commit e5f2abd770
18 changed files with 2 additions and 111 deletions

View file

@ -68,12 +68,10 @@ typedef struct drv_pwm_config_s {
#ifdef USE_RANGEFINDER
bool useTriggerRangefinder;
#endif
#ifdef USE_SERVOS
bool useServoOutputs;
bool useChannelForwarding; // configure additional channels as servos
uint16_t servoPwmRate;
uint16_t servoCenterPulse;
#endif
uint8_t pwmProtocolType;
uint16_t motorPwmRate;
uint16_t idlePulse; // PWM value to use when initializing the driver. set this to either PULSE_1MS (regular pwm),