1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Rename minLimit/maxLimit to angleAtMin and angleAtMax. Remove unneeded

MSP_SET_SERVO_LIMIT.  Bump MSP API version.  Add basic sanity checks to
MSP_SET_SERVO_CONF, reset all servos and adhere to the msp packet's data
size.
This commit is contained in:
Dominic Clifton 2015-06-04 21:13:32 +01:00
parent da6ee6ffb7
commit c142e3dfe9
6 changed files with 17 additions and 28 deletions

View file

@ -889,8 +889,8 @@ static void cliServo(char *cmdline)
servo->min,
servo->max,
servo->middle,
servo->minLimit,
servo->maxLimit,
servo->angleAtMin,
servo->angleAtMax,
servo->rate,
servo->forwardFromChannel
);
@ -934,8 +934,8 @@ static void cliServo(char *cmdline)
servo->min = arguments[1];
servo->max = arguments[2];
servo->middle = arguments[3];
servo->minLimit = arguments[4];
servo->maxLimit = arguments[5];
servo->angleAtMin = arguments[4];
servo->angleAtMax = arguments[5];
servo->rate = arguments[6];
servo->forwardFromChannel = arguments[7];
}