From 809540875d337cf782a3f24d28bf3c77a283c9dc Mon Sep 17 00:00:00 2001 From: Steffen Pohle Date: Thu, 9 Feb 2023 21:17:43 +0100 Subject: [PATCH] logging issue --- posctl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posctl.cc b/posctl.cc index 2398a5c..c566a43 100644 --- a/posctl.cc +++ b/posctl.cc @@ -741,7 +741,7 @@ void PosCtl::Loop (int posx, int posy) { static int lastmode = -1; double kp0,ki0,kd0, kp1,ki1,kd1; if (lastmode != mode && mode != POSCTL_MODE_CONTROL) { - debug_tofile((char*)"posctl.log", (char*)"%d,,,,,,,,,,,,,,,,", mode); + debug_tofile((char*)"posctl.log", (char*)"%d,,,,,,,,,,,,,,,,\n", mode); } #endif //