summaryrefslogtreecommitdiff
path: root/software/ttx/ttx.asm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-01-28 00:55:00 +0000
committerChristian Pointner <equinox@mur.at>2012-01-28 00:55:00 +0000
commit46191fde622825609ef2a41b69cbc87ebe8581de (patch)
tree3a91b29ff0d65057572058ff918805090dc2f34f /software/ttx/ttx.asm
parentfixed safe mode (diff)
cleanup
git-svn-id: https://svn.spreadspace.org/mur.sat@236 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ttx/ttx.asm')
-rw-r--r--software/ttx/ttx.asm9
1 files changed, 4 insertions, 5 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm
index 19e7140..46a861e 100644
--- a/software/ttx/ttx.asm
+++ b/software/ttx/ttx.asm
@@ -116,7 +116,7 @@ complete EQU .7
btfss INTCON,INTF
goto clk_1hz_int
ext_int
- bcf INTCON,INTF
+ bcf INTCON,INTF
btfsc RX_STATE,complete
goto interrupt_end
bsf STATUS,RP0
@@ -160,15 +160,14 @@ clk_1hz_int
bcf STATUS,RP0
btfss GPIO,CLK_1HZ
goto clk_1hz_int_low
-
bcf INTCON,RAIF
goto interrupt_end
clk_1hz_int_low
- bcf INTCON,RAIF
movf SECCNT,f
btfss STATUS,Z
decf SECCNT,f
+ bcf INTCON,RAIF
goto interrupt_end
interrupt_end
@@ -741,7 +740,7 @@ send_ack
movf WSPACE,w
call dottime
-
+
movlw RX_CMD
movwf FSR
movf RX_STATE,w
@@ -757,7 +756,7 @@ ack_next
call dottime
decfsz TMP1,f
goto ack_next
-
+
;; movf ACK_DATA,w
;; call send_char
movf CSPACE,w