mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Reduce maximum servos from 10 to 8.
1) the 2 extra servos were not used for anything, yet. 2) the MSP packet to set ALL the servo configurations in one go is larger than the MSP input buffer size. Likely the MSP_SET_SERVO_CONF should be updated with command that takes an index of a servo to configure, as per mode ranges/colors/leds/etc. Fixes #1002
This commit is contained in:
parent
78b52c53d5
commit
9a8a31676b
4 changed files with 28 additions and 16 deletions
|
@ -18,10 +18,10 @@
|
|||
#pragma once
|
||||
|
||||
#define MAX_PWM_MOTORS 12
|
||||
#define MAX_PWM_SERVOS 10
|
||||
#define MAX_PWM_SERVOS 8
|
||||
|
||||
#define MAX_MOTORS 12
|
||||
#define MAX_SERVOS 10
|
||||
#define MAX_SERVOS 8
|
||||
#define MAX_PWM_OUTPUT_PORTS MAX_PWM_MOTORS // must be set to the largest of either MAX_MOTORS or MAX_SERVOS
|
||||
|
||||
#if MAX_PWM_OUTPUT_PORTS < MAX_MOTORS || MAX_PWM_OUTPUT_PORTS < MAX_SERVOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue