From: Ian Jackson Date: Sun, 9 Jan 2011 00:23:33 +0000 (+0000) Subject: realtime: safety: debug output: properly break up the big line of segments, when... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=db5de383932959b7b7e0641711aba0539a66e933;p=trains.git realtime: safety: debug output: properly break up the big line of segments, when we call out to movpos --- 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 */