chiark / gitweb /
realtime: safety: debug output: properly break up the big line of segments, when...
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 9 Jan 2011 00:23:33 +0000 (00:23 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 9 Jan 2011 00:23:33 +0000 (00:23 +0000)
hostside/safety.c

index 423a343a327aa8e8aee85fdf0a2cca9033da425f..50d91590b2a384e67ca00497daf8f86aca9eb21e 100644 (file)
@@ -959,8 +959,11 @@ ErrorCode predict(Train *tra, struct timeval tnow, unsigned flags,
        /* excellent, already doing it */
       } else if (!seg->now_present) {
        MovPosComb target= movpos_change_intent(seg->motion_newplan);
+
+       DPRINTF2(" ...\n");
        ec= movpos_change(seg, target, -1, seg->motion_newplan);
        assert(!ec);
+       DPRINTF1(safety,predictplan, " ... ");
        /* motion is updated by movpos_change */
       } else {
        /* we'll do it later, then */