mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Pid Controller Cleanup
Correction to dump
This commit is contained in:
parent
d076a60eb5
commit
d685b4d6d8
5 changed files with 62 additions and 507 deletions
|
@ -1359,7 +1359,7 @@ static bool processInCommand(void)
|
|||
case MSP_SET_LOOP_TIME:
|
||||
break;
|
||||
case MSP_SET_PID_CONTROLLER:
|
||||
currentProfile->pidProfile.pidController = read8();
|
||||
currentProfile->pidProfile.pidController = constrain(read8(), 1, 2); // Temporary configurator compatibility
|
||||
pidSetController(currentProfile->pidProfile.pidController);
|
||||
break;
|
||||
case MSP_SET_PID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue