mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
scaling change on save
This commit is contained in:
parent
fec7d696b7
commit
8b3286143f
1 changed files with 4 additions and 4 deletions
|
@ -1393,11 +1393,11 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
||||||
sbufReadU8(src); //BF: currentProfile->pidProfile.itermThrottleGain
|
sbufReadU8(src); //BF: currentProfile->pidProfile.itermThrottleGain
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* To keep compatibility on MSP level with Betaflight, axis axisAccelerationLimitYaw
|
* To keep compatibility on MSP frame length level with Betaflight, axis axisAccelerationLimitYaw
|
||||||
* limit will be sent and received in [dps / 1000]
|
* limit will be sent and received in [dps / 10]
|
||||||
*/
|
*/
|
||||||
currentProfile->pidProfile.axisAccelerationLimitRollPitch = sbufReadU16(src) * 1000;
|
currentProfile->pidProfile.axisAccelerationLimitRollPitch = sbufReadU16(src) * 10;
|
||||||
currentProfile->pidProfile.axisAccelerationLimitYaw = sbufReadU16(src) * 1000;
|
currentProfile->pidProfile.axisAccelerationLimitYaw = sbufReadU16(src) * 10;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSP_SET_INAV_PID:
|
case MSP_SET_INAV_PID:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue