summaryrefslogtreecommitdiff
path: root/software/ttx/ttx.asm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-01-27 22:59:08 +0000
committerChristian Pointner <equinox@mur.at>2012-01-27 22:59:08 +0000
commitce7e5d3e063c5259329698920b8e54857f62742f (patch)
treea00973b771c00a8b65e7c1cff1f0bc162a2d0f63 /software/ttx/ttx.asm
parentfixed temp_read_value (diff)
fixed safe mode
git-svn-id: https://svn.spreadspace.org/mur.sat@235 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ttx/ttx.asm')
-rw-r--r--software/ttx/ttx.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm
index 6305c71..19e7140 100644
--- a/software/ttx/ttx.asm
+++ b/software/ttx/ttx.asm
@@ -42,7 +42,7 @@ DOT_DEF EQU .256 - .21 ; .29
DASH_DEF EQU .256 - .63 ; .87
WSPACE_DEF EQU .256 - .147 ; .203
TUNE_DEF EQU DOT_DEF
-BCONINT_DEF EQU .42
+BCONINT_DEF EQU .10
START_CHAR EQU 'N'
ACK_CHAR EQU 'A'
OSC_LOW EQU b'00000000'
@@ -395,10 +395,10 @@ init
movwf BEACON_INT
movlw DOT_DEF ; TODO: read cw timings from EEPROM
- movwf DOT
- movlw DASH_DEF
- movwf DASH
- movlw WSPACE_DEF
+ movwf DOT ; - DOT: length of .
+ movlw DASH_DEF ; - DASH: length of -
+ movwf DASH ; - WSPACE: length word space
+ movlw WSPACE_DEF ; - TUNE: tune in time of oscillator
movwf WSPACE
movlw TUNE_DEF
movwf TUNE
@@ -785,11 +785,11 @@ main
seccnt_zero
movf BEACON_INT,w
movwf SECCNT
- btfsc NVSTATE,safe
+ btfss NVSTATE,safe
call send_beacon
goto powerdown
- ;; this gets called whenver a message was received from ihu
+ ;; this gets called whenever a message was received from ihu
msg_received
call send_ack
clrf RX_STATE