From: ian Date: Tue, 15 Jul 2008 20:38:30 +0000 (+0000) Subject: note that detection suppressed by README.commands X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=5249d7b3481f245a5d450a36db5dba477ba58209;p=trains.git note that detection suppressed by README.commands --- diff --git a/hostside/README.commands b/hostside/README.commands index 71dd5e4..08ef4ad 100644 --- a/hostside/README.commands +++ b/hostside/README.commands @@ -44,8 +44,8 @@ POSSIBLY-ASYNCHRONOUS REPORTING OF MESSAGES TO/FROM (MASTER) PIC U< ?detect-flap Suppression (see parse-proto-spec and realtime.c:serial_transmit) - nmra data ping/pong special in other out - nmra done detect (see above) msg in (also in-info) + nmra data/done ping/ special in other out + detect pong (see above) msg in (also in-info) -v0 suppressed suppressed raw with type cooked -v1 suppressed only unignored raw with type cooked -v2 suppressed cooked raw with type cooked diff --git a/hostside/parse-proto-spec b/hostside/parse-proto-spec index e739902..6c20ddb 100755 --- a/hostside/parse-proto-spec +++ b/hostside/parse-proto-spec @@ -100,7 +100,7 @@ sub process_line () { ($cname =~ m/nmradone/ ? 3 : $cname =~ m/watchdog/ ? 3 : $cname =~ m/p[io]ng/ ? 2 : - $cname =~ m/detect/ ? 2 : + $cname =~ m/detect/ ? 3 : 0); $v{cnameyn}= $cname.$yval; $v{cnameynu}= uc($cname.$yval);