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:
64663b2
)
leave comment saying how to disable nmra and get dc onto track
author
ian
<ian>
Sun, 16 Mar 2008 21:56:44 +0000
(21:56 +0000)
committer
ian
<ian>
Sun, 16 Mar 2008 21:56:44 +0000
(21:56 +0000)
detpic/nmra-stream.asm
patch
|
blob
|
history
diff --git
a/detpic/nmra-stream.asm
b/detpic/nmra-stream.asm
index 7693f2b0a770a7d3412b5bdb2b137484ed83c88b..ba5f3991e086dfe5f6f85b5adc5c1ca08e7a0bcc 100644
(file)
--- a/
detpic/nmra-stream.asm
+++ b/
detpic/nmra-stream.asm
@@
-202,7
+202,10
@@
nmra_restartmessage @ ; Entrypoint from power_polarising_tick, at end
; interrupt set-up for timer0 interrupt p79/80
bs_fa INTCON2,2 ; timer0 overflow high priority
+
bs_fa INTCON,5 ; enable timer0 interrupts
+ ; ^ to disable NMRA output and get DC onto the track,
+ ; comment out the line above
debug 'e' ; write 'e' to serial port