# HG changeset patch
# User heinrichsweikamp
# Date 1371414242 -7200
# Node ID 87c74962b7e13831f3e51a360786bc69483501bb
# Parent  ae641bcb0d02891ac3a83fb03f268a3001400320
show ppO2 of diluent gas in bailout case correctly

diff -r ae641bcb0d02 -r 87c74962b7e1 code_part1/OSTC_code_asm_part1/outputs.asm
--- 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.
 
 ;=============================================================================