diff options
Diffstat (limited to 'software/ihu')
-rw-r--r-- | software/ihu/ihu.asm | 4 | ||||
-rw-r--r-- | software/ihu/ttx.inc | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/software/ihu/ihu.asm b/software/ihu/ihu.asm index 97a36b3..197665a 100644 --- a/software/ihu/ihu.asm +++ b/software/ihu/ihu.asm @@ -211,9 +211,6 @@ init bsf PORTD,DTMF_PWRDWN bcf PORTD,TTX_RESET ;reset TTX - nop - nop - bsf PORTD,TTX_RESET bcf PORTD,TTX_SCL bcf PORTD,TTX_SDA clrf TMR0 @@ -222,6 +219,7 @@ init clrf TMP call rtc_init + bsf PORTD,TTX_RESET goto main ;; ------------------------------------- diff --git a/software/ihu/ttx.inc b/software/ihu/ttx.inc index db53f89..d56e3bc 100644 --- a/software/ihu/ttx.inc +++ b/software/ihu/ttx.inc @@ -125,13 +125,10 @@ ttx_next_byte xorwf TTX_CSUM,w btfss STATUS,Z goto ttx_csum_error - movlw '.' - movwf TXREG return ttx_csum_error - movlw 'E' - movwf TXREG + ;; TODO: react to comm error return ;; ------------------------------------- |