summaryrefslogtreecommitdiff
path: root/software/ttx
diff options
context:
space:
mode:
Diffstat (limited to 'software/ttx')
-rw-r--r--software/ttx/ttx.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm
index 9fd38e8..d2237c9 100644
--- a/software/ttx/ttx.asm
+++ b/software/ttx/ttx.asm
@@ -422,11 +422,10 @@ init
rx_byte
movlw .8
movwf RX_BIT_CNT
+ clrf INDF
rx_byte_clk_high
btfss GPIO,SCLK
goto rx_byte_clk_high
- btfss GPIO,SDAT
- bcf INDF,0
btfsc GPIO,SDAT
bsf INDF,0
decfsz RX_BIT_CNT,f