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:
parent
84270a2c1c
commit
23766e485b
4 changed files with 7 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue