+++ /dev/null
-cvs diff: Diffing .
-Index: safety.c
-===================================================================
-RCS file: /u/ian/cvs/trains/hostside/safety.c,v
-retrieving revision 1.101
-diff -u -r1.101 safety.c
---- safety.c 24 Aug 2008 22:53:58 -0000 1.101
-+++ safety.c 14 Sep 2008 15:12:59 -0000
-@@ -630,12 +630,18 @@
- u->done_first_new_fdet= 1;
- }
-
-+DPRINTF(safety,predictseg," elapsed=%lu ?< %d si=%u trb=%u tpi=%u ^^=%u\n",
-+ (unsigned long)u->elapsed, MARGIN_POLARISETIME,
-+ t->seg->seg_inverted, t->backwards, u->train_polarity_inverted,
-+ t->seg->seg_inverted ^ t->backwards ^
-+ u->train_polarity_inverted);
- if (u->elapsed < MARGIN_POLARISETIME) {
- u->need_polarise |= (t->seg->seg_inverted ^ t->backwards ^
- u->train_polarity_inverted);
- } else {
- u->walk_compute_polarise &= u->need_polarise;
- }
-+DPRINTF(safety,predictseg," nnp=%u\n", u->need_polarise);
-
- if (u->train->autopoint && !u->autopoint_distance) {
- const SegPosCombInfo *pci;
u->done_first_new_fdet= 1;
}
-DPRINTF(safety,predictseg," elapsed=%lu ?< %d si=%u trb=%u tpi=%u ^^=%u\n",
- (unsigned long)u->elapsed, MARGIN_POLARISETIME,
- t->seg->seg_inverted, t->backwards, u->train_polarity_inverted,
- t->seg->seg_inverted ^ t->backwards ^
- u->train_polarity_inverted);
if (u->elapsed < MARGIN_POLARISETIME) {
u->need_polarise |= (t->seg->seg_inverted ^ t->backwards ^
u->train_polarity_inverted);
} else {
u->walk_compute_polarise &= u->need_polarise;
}
-DPRINTF(safety,predictseg," nnp=%u\n", u->need_polarise);
if (u->train->autopoint && !u->autopoint_distance) {
const SegPosCombInfo *pci;