summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-07-30 22:00:11 +0000
committerChristian Pointner <equinox@mur.at>2011-07-30 22:00:11 +0000
commit5844a7081fdd71c9195cde164904db7c8f4abb56 (patch)
treedbaac9e0c2c06bcc759bf0ed9e8e323f8617096f /software
parentno timer1 anymore using rtc clkout capability (diff)
resetting ttx while rtc gets configured (clock out)
git-svn-id: https://svn.spreadspace.org/mur.sat@81 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r--software/ihu/ihu.asm4
-rw-r--r--software/ihu/ttx.inc5
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
;; -------------------------------------