Searched refs:last_err (Results 1 – 1 of 1) sorted by relevance
96 int32_t last_err; member168 pid->last_err = int_tofp(setpoint) - int_tofp(busy); in pid_reset()208 dterm = mul_fp(pid->d_gain, fp_error - pid->last_err); in pid_calc()209 pid->last_err = fp_error; in pid_calc()