changeset 136:20b2c77a6cd2

active gas divemode display fix
author heinrichsweikamp
date Wed, 05 Jan 2011 17:28:23 +0100
parents 5c8569f95d7e
children e6aa4a74c3c2
files code_part1/OSTC_code_asm_part1/pled_outputs.asm code_part1/OSTC_code_asm_part1/text_table.asm
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Jan 05 13:29:18 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Jan 05 17:28:23 2011 +0100
@@ -977,8 +977,8 @@
 	
 							; Yes, display "Air" instead of 21/0
 	lfsr	FSR2,letter
-	OUTPUTTEXTH		d'264'			;"Air "
-	movlw	' '
+	OUTPUTTEXTH		d'264'			;"Air  "
+	clrf	WREG
 	btfsc	better_gas_available	;=1: A better gas is available and a gas change is advised in divemode
 	movlw	'*'
 	movwf	POSTINC2
@@ -992,7 +992,7 @@
 	PUTC    '/'
 	movff	char_I_He_ratio,lo		; copy He ratio into lo
 	output_8
-	movlw	' '
+	clrf	WREG
 	btfsc	better_gas_available	;=1: A better gas is available and a gas change is advised in divemode
 	movlw	'*'
 	movwf	POSTINC2
--- a/code_part1/OSTC_code_asm_part1/text_table.asm	Wed Jan 05 13:29:18 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/text_table.asm	Wed Jan 05 17:28:23 2011 +0100
@@ -691,7 +691,7 @@
 	DA	"YYMMDD}}"				;261		l=8
 	DA	"OSTC }"				;262		l=6
 	DA	"Bail}}"				;263		l=6 
-	DA	"Air }}"				;264		l=6
+	DA	"Air  }"				;264		l=6
 	DA	"Air  }"				;265		l=6
 	DA	"Calibrate}"			;266		l=10
 	DA	"Max.}}"				;267		l=6