diff code_part1/OSTC_code_asm_part1/outputs.asm @ 731:87c74962b7e1

show ppO2 of diluent gas in bailout case correctly
author heinrichsweikamp
date Sun, 16 Jun 2013 22:24:02 +0200
parents 0ab7d244c6ec
children 65822fa08333
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Sun Jun 16 16:09:02 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Sun Jun 16 22:24:02 2013 +0200
@@ -3582,7 +3582,10 @@
 	bsf		leftbind
 	output_16dp	d'3'					; Show ppO2 w/o leading zero
 	bcf		leftbind
-	STRCAT_PRINT  " "					;  Display ppO2[Diluent]
+    PUTC    " "
+    clrf    WREG
+    movff   WREG,letter+4               ; limit to five chars
+	STRCAT_PRINT  ""					; Display ppO2[Diluent]
 	goto    DISP_standard_color         ; Back to white.
 
 ;=============================================================================