Commit 0b64993c authored by Guido Visser's avatar Guido Visser

disablecontrol added in the spll_pi_t struct this is needed to implent a hold…

disablecontrol added in the spll_pi_t struct this is needed to implent a hold the PI on the last val.
parent 47e85994
......@@ -30,7 +30,7 @@ extern volatile struct PPSG_WB *PPSG;
/* PI regulator state */
typedef struct {
int ki, kp,kd; /* integral and proportional gains (1<<PI_FRACBITS == 1.0f) */
int ki, kp; /* integral and proportional gains (1<<PI_FRACBITS == 1.0f) */
int shift; /* fractional bits shift factor (defaults to PI_FRACBITS) */
int64_t integrator,derivative; /* current integrator value */
int bias; /* DC offset always added to the output */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment