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 //