From: ian Date: Sun, 11 May 2008 11:17:19 +0000 (+0000) Subject: remove obsolete cdumgr.c X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=7af3592bcf3c6c6ba42dcf9a27a36d88189d7a38;p=trains.git remove obsolete cdumgr.c --- diff --git a/hostside/Makefile b/hostside/Makefile index 168b18e..76cd42a 100644 --- a/hostside/Makefile +++ b/hostside/Makefile @@ -29,7 +29,7 @@ on-bessar: $(TARGETS) %.on-bessar: % RSYNC_RSH=fsh rsync $^ $(BESSAR) -REALTIME_CORE= realtime.o startup.o cdumgr.o safety.o trackloc.o \ +REALTIME_CORE= realtime.o startup.o safety.o trackloc.o \ speed.o actual.o retransmit.o persist.o resolve.o \ cmdinput.o commands.o obc.o eventhelp.o simulate.o \ record.o record-l.o record-y.o \ diff --git a/hostside/cdumgr.c b/hostside/cdumgr.c deleted file mode 100644 index 888c39c..0000000 --- a/hostside/cdumgr.c +++ /dev/null @@ -1,11 +0,0 @@ -/* - * realtime - * cdu and point charge control and scheduler - */ - -#include "realtime.h" - -void on_pic_pointed(const PicInsnInfo *pii, const PicInsn *pi, int objnum) { - if (sta_state <= Sta_Settling) return; - /* fixme do something here */ -} diff --git a/hostside/startup.c b/hostside/startup.c index de23ac0..42ff813 100644 --- a/hostside/startup.c +++ b/hostside/startup.c @@ -219,6 +219,7 @@ void on_pic_spurious(const PicInsnInfo *pii, const PicInsn *pi, int objnum) { oprintf(UPO,"warning spurious %d : spurious short circuit (fault)" " detection interrupts\n", objnum); } +void on_pic_pointed(const PicInsnInfo *pii, const PicInsn *pi, int objnum) { } static SegmentNum on_pic_detect_prep(int detyn, int objnum) { SegmentNum segn;