main: reset PID after parameter change
This commit is contained in:
parent
c8d31c7b0d
commit
2010b4fe10
@ -442,6 +442,7 @@ fn main() -> ! {
|
||||
IntegralMax =>
|
||||
pid.update_parameters(|parameters| parameters.integral_max = value),
|
||||
}
|
||||
pid.reset();
|
||||
let _ = writeln!(socket, "PID parameter updated");
|
||||
}
|
||||
Command::SteinhartHart { channel, parameter, value } => {
|
||||
|
Loading…
Reference in New Issue
Block a user