Index: firmware/App/Services/PIControllers.c =================================================================== diff -u -ra9315539f527b92523b1598ff91e47db4d71dae2 -r7104ce1a12799c5a3dff10c94cb191d409bc8244 --- firmware/App/Services/PIControllers.c (.../PIControllers.c) (revision a9315539f527b92523b1598ff91e47db4d71dae2) +++ firmware/App/Services/PIControllers.c (.../PIControllers.c) (revision 7104ce1a12799c5a3dff10c94cb191d409bc8244) @@ -282,4 +282,15 @@ return output; } + +/* + * reset needs to be called. + */ + +void setPIControlerProfile( PI_CONTROLLER_ID_T controllerID, F32 initialControlSignal, PI_CONTROLLER_PROFILE_DATA_T profile) +{ + initializePIController(controllerID, initialControlSignal, + profile.Kp,profile.Ki,profile.uMin,profile.uMax); +} + /**@}*/