From 33222b2129df2c07c8aadd06d9217779c35c0c1c Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 4 May 2008 18:25:21 +0000 Subject: [PATCH] suppress boring detections by default --- hostside/README.commands | 2 +- hostside/startup.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hostside/README.commands b/hostside/README.commands index 5df572c..b10c1b5 100644 --- a/hostside/README.commands +++ b/hostside/README.commands @@ -27,7 +27,7 @@ POSSIBLY-ASYNCHRONOUS REPORTING OF MESSAGES TO/FROM (MASTER) PIC nmra data ping/pong special in other out nmra done detect (see above) msg in (also in-info) -v0 suppressed suppressed raw with type cooked - -v1 suppressed suppressed raw with type cooked + -v1 suppressed only unignored raw with type cooked -v2 suppressed cooked raw with type cooked -v3 both both raw with type both diff --git a/hostside/startup.c b/hostside/startup.c index 416340b..c9b6288 100644 --- a/hostside/startup.c +++ b/hostside/startup.c @@ -227,7 +227,11 @@ static SegmentNum on_pic_detect_prep(int detyn, int objnum) { (segn= info_segmentmap[objnum]) < 0) die("PIC sent detect%d @#%#x not in map",detyn,objnum); - oprintf(UPO,"picio in-info detect %d %s\n",detyn,info_segments[segn].pname); + if (!(picio_send_noise <= 1 && + segments[segn].owner && + segments[segn].det_ignore)) + oprintf(UPO,"picio in-info detect %d %s\n", + detyn, info_segments[segn].pname); return segn; } -- 2.30.2