chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5596eb5
)
service mode factory reset
author
ian
<ian>
Tue, 29 Aug 2006 13:13:41 +0000
(13:13 +0000)
committer
ian
<ian>
Tue, 29 Aug 2006 13:13:41 +0000
(13:13 +0000)
hostside/nmra-packets.h
patch
|
blob
|
history
diff --git
a/hostside/nmra-packets.h
b/hostside/nmra-packets.h
index 6f35abb74e1ead8f4fd27e4250572edecc1e481c..2728caa6938b080dd5f40ee0abd16697516188f7 100644
(file)
--- 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