From ce7e5d3e063c5259329698920b8e54857f62742f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 27 Jan 2012 22:59:08 +0000 Subject: fixed safe mode git-svn-id: https://svn.spreadspace.org/mur.sat@235 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/ttx/ttx.asm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'software/ttx') 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 -- cgit v1.2.3