logging issue

master
Steffen Pohle 3 years ago
parent c666ab1c3f
commit 809540875d

@ -741,7 +741,7 @@ void PosCtl::Loop (int posx, int posy) {
static int lastmode = -1; static int lastmode = -1;
double kp0,ki0,kd0, kp1,ki1,kd1; double kp0,ki0,kd0, kp1,ki1,kd1;
if (lastmode != mode && mode != POSCTL_MODE_CONTROL) { 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 #endif
// //

Loading…
Cancel
Save