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:
e9aa5fa
)
initialise cslot correctly
author
ian
<ian>
Wed, 28 Dec 2005 23:53:03 +0000
(23:53 +0000)
committer
ian
<ian>
Wed, 28 Dec 2005 23:53:03 +0000
(23:53 +0000)
detpic/mascan.asm
patch
|
blob
|
history
diff --git
a/detpic/mascan.asm
b/detpic/mascan.asm
index d59ffdd8b9b9d050f72de019c7ee45b63afd9537..6ebc4851827746bb350594a653f8742d08f1d892 100644
(file)
--- a/
detpic/mascan.asm
+++ b/
detpic/mascan.asm
@@
-283,7
+283,8
@@
i2c_consider_restartread
; INITIALISATION
mascan_init
- mov_lw slavetable & 0xff
+ mov_lw (slavetable + ste_flags + ste_size) & 0xff
+ ; start with 1st actual slave
mov_wf cslot
clr_f cbyte
bs_f cbyte, cbyte_halted ; serial output of `hello' will start us up