mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
PID3 mw23 implementation
Finish PID3 implementation
This commit is contained in:
parent
57a3e59a38
commit
33eef46db3
6 changed files with 185 additions and 10 deletions
|
@ -1283,7 +1283,7 @@ static bool processInCommand(void)
|
|||
setGyroSamplingSpeed(read16());
|
||||
break;
|
||||
case MSP_SET_PID_CONTROLLER:
|
||||
currentProfile->pidProfile.pidController = constrain(read8(), 1, 2);
|
||||
currentProfile->pidProfile.pidController = read8();
|
||||
pidSetController(currentProfile->pidProfile.pidController);
|
||||
break;
|
||||
case MSP_SET_PID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue