chiark / gitweb /
suppress boring detections by default
authorian <ian>
Sun, 4 May 2008 18:25:21 +0000 (18:25 +0000)
committerian <ian>
Sun, 4 May 2008 18:25:21 +0000 (18:25 +0000)
hostside/README.commands
hostside/startup.c

index 5df572c1e6c52965daf2e49307c92ac1b2f1cc7e..b10c1b58246c95f1975de7a84e9da46a979c2893 100644 (file)
@@ -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
 
index 416340bdbe071cba7d0d188396d146476b767ec5..c9b628810fdc1ba0ded4513d471372a4b461b661 100644 (file)
@@ -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;
 }