pid1_spd.Kp=((Uint32)(P.AsprKp)<<14)/100<<10;
pid1_spd.Ki=((Uint32)(P.AsprKi)<<14)/P.carryF<<10;
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.