From 56c62975c4bea915a3cf49ba5d03e8e2ef1181a0 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 23 Mar 2020 23:02:50 +0100 Subject: [PATCH] main: improve show pid parameters --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 029c1de..ace6455 100644 --- a/src/main.rs +++ b/src/main.rs @@ -204,12 +204,12 @@ fn main() -> ! { show_pid_parameter!(kp); show_pid_parameter!(ki); show_pid_parameter!(kd); - show_pid_parameter!(output_min); - show_pid_parameter!(output_max); show_pid_parameter!(integral_min); show_pid_parameter!(integral_max); + show_pid_parameter!(output_min); + show_pid_parameter!(output_max); if let Some(last_output) = pid.last_output { - let _ = writeln!(socket, "- output={:.4}", last_output); + let _ = writeln!(socket, "- last_output={:.4}", last_output); } let _ = writeln!(socket, ""); }