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

Drop Betaflight PIDc support for OPBL

This commit is contained in:
borisbstyle 2016-08-24 01:07:04 +02:00
parent 5e5b44f593
commit f4796c3676
4 changed files with 9 additions and 0 deletions

View file

@ -1353,8 +1353,10 @@ static bool processInCommand(void)
read16();
break;
case MSP_SET_PID_CONTROLLER:
#ifndef SKIP_PID_FLOAT
currentProfile->pidProfile.pidController = constrain(read8(), 0, 1);
pidSetController(currentProfile->pidProfile.pidController);
#endif
break;
case MSP_SET_PID:
for (i = 0; i < PID_ITEM_COUNT; i++) {