changeset 731:87c74962b7e1

show ppO2 of diluent gas in bailout case correctly
author heinrichsweikamp
date Sun, 16 Jun 2013 22:24:02 +0200
parents ae641bcb0d02
children 920afa50bb0b
files code_part1/OSTC_code_asm_part1/outputs.asm
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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.
 
 ;=============================================================================