mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Remove unnecessary complicated expo power
This commit is contained in:
parent
2987c7d8c8
commit
efd43059b5
5 changed files with 4 additions and 10 deletions
|
@ -821,7 +821,7 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
serialize16((uint16_t)gyro.targetLooptime);
|
||||
break;
|
||||
case MSP_RC_TUNING:
|
||||
headSerialReply(13);
|
||||
headSerialReply(12);
|
||||
serialize8(currentControlRateProfile->rcRate8);
|
||||
serialize8(currentControlRateProfile->rcExpo8);
|
||||
for (i = 0 ; i < 3; i++) {
|
||||
|
@ -833,7 +833,6 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
serialize16(currentControlRateProfile->tpa_breakpoint);
|
||||
serialize8(currentControlRateProfile->rcYawExpo8);
|
||||
serialize8(currentControlRateProfile->rcYawRate8);
|
||||
serialize8(currentControlRateProfile->rcExpoPwr);
|
||||
break;
|
||||
case MSP_PID:
|
||||
headSerialReply(3 * PID_ITEM_COUNT);
|
||||
|
@ -1426,9 +1425,6 @@ static bool processInCommand(void)
|
|||
if (currentPort->dataSize >= 12) {
|
||||
currentControlRateProfile->rcYawRate8 = read8();
|
||||
}
|
||||
if (currentPort->dataSize >=13) {
|
||||
currentControlRateProfile->rcExpoPwr = read8();
|
||||
}
|
||||
} else {
|
||||
headSerialError(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue