main: reset PID after parameter change

This commit is contained in:
Astro 2019-10-03 01:33:49 +02:00
parent c8d31c7b0d
commit 2010b4fe10
1 changed files with 1 additions and 0 deletions

View File

@ -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 } => {