1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 08:15:26 +03:00

[PWM] Increase servo output count to 16

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2019-06-23 11:09:53 +02:00
parent 84270a2c1c
commit 23766e485b
4 changed files with 7 additions and 11 deletions

View file

@ -22,16 +22,12 @@
#include "flight/servos.h"
#if defined(TARGET_MOTOR_COUNT)
#define MAX_PWM_MOTORS TARGET_MOTOR_COUNT
#define MAX_PWM_SERVOS 8
#define MAX_MOTORS TARGET_MOTOR_COUNT
#define MAX_SERVOS 8
#define MAX_SERVOS 16
#else
#define MAX_PWM_MOTORS 12
#define MAX_PWM_SERVOS 8
#define MAX_MOTORS 12
#define MAX_SERVOS 8
#define MAX_SERVOS 16
#endif
#define PWM_TIMER_HZ 1000000