From 67e1b3959982797d5073faa4ad828a46d2f05232 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 29 Aug 2006 13:13:41 +0000 Subject: [PATCH] service mode factory reset --- hostside/nmra-packets.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hostside/nmra-packets.h b/hostside/nmra-packets.h index 6f35abb..2728caa 100644 --- a/hostside/nmra-packets.h +++ b/hostside/nmra-packets.h @@ -88,6 +88,14 @@ NMRA(svc_cvwrite, Aint(cv,0) Abyte(value,1), { *c++= adj; *c++= value; }) +NMRA(svc_factoryreset, Anone, { + /* Service Mode Instruction for Decoder Factory Reset + * RP 9.2.3 E l.279- + * (See also Packet Sequence for Physical Register Addressing + * RP 9.2.3 E l.166-) + */ + CONST(0x7f, 0x40); +}) #undef Aint #undef Abitmap -- 2.30.2