From db5de383932959b7b7e0641711aba0539a66e933 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 9 Jan 2011 00:23:33 +0000 Subject: [PATCH] realtime: safety: debug output: properly break up the big line of segments, when we call out to movpos --- hostside/safety.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hostside/safety.c b/hostside/safety.c index 423a343..50d9159 100644 --- a/hostside/safety.c +++ b/hostside/safety.c @@ -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 */ -- 2.30.2