diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 136:20b2c77a6cd2

active gas divemode display fix
author heinrichsweikamp
date Wed, 05 Jan 2011 17:28:23 +0100
parents 5c8569f95d7e
children dd4b899c56c1
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