1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 07:45:29 +03:00

Restore multiwii throttle curve

This commit is contained in:
borisbstyle 2017-02-06 23:48:01 +01:00
parent 428f39341c
commit 80c0e32660
5 changed files with 35 additions and 7 deletions

View file

@ -52,6 +52,7 @@
#include "fc/config.h"
#include "fc/fc_core.h"
#include "fc/fc_msp.h"
#include "fc/fc_rc.h"
#include "fc/rc_controls.h"
#include "fc/runtime_config.h"
@ -1399,6 +1400,7 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
if (dataSize >= 12) {
currentControlRateProfile->rcYawRate8 = sbufReadU8(src);
}
generateThrottleCurve();
} else {
return MSP_RESULT_ERROR;
}