X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrain.cpp;h=1447ca58df834c86f7a14d27610e0959bb38c560;hb=d084e6f369a829f41086d1f7f9befa52d0392d58;hp=122ea9b18795ffcc64f4de01d065bd5d1fb46369;hpb=dbaa67c30705a9993d2626cec588c7320f1eef17;p=r2c2.git diff --git a/source/libr2c2/train.cpp b/source/libr2c2/train.cpp index 122ea9b..1447ca5 100644 --- a/source/libr2c2/train.cpp +++ b/source/libr2c2/train.cpp @@ -782,6 +782,8 @@ void Train::sensor_event(unsigned addr, bool state) } // Move blocks up to the next sensor to our current blocks + for(BlockList::iterator j=cur_blocks_end; j!=end; ++j) + signal_advanced.emit(**j); cur_blocks_end = end; // Try to get more blocks if we're moving