diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 322:676d18bce8d7

Fix ppO2[flush] display in customview.
author JeanDo
date Sat, 07 May 2011 00:08:08 +0200
parents c61d94186f8f
children b7940978edc9
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Thu May 05 22:18:24 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sat May 07 00:08:08 2011 +0200
@@ -3109,9 +3109,16 @@
 
 	WIN_LEFT	.130
 	WIN_TOP		.168
+
+    movff       char_O_flush_ppO2, lo
+    incf        lo,W                    ; ppO2 == 2.55 ?
+    bnz         PLED_show_end_ead_divemode_1
+    
+    STRCPY_PRINT "----"                 ; YES: mark overflow.
+    return
+
+PLED_show_end_ead_divemode_1:    
 	lfsr		FSR2,letter
-
-    movff       char_O_diluent_ppO2, lo
     clrf        hi
 	bsf		leftbind
 	output_16dp	d'3'					; Show ppO2 w/o leading zero