comparison 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
comparison
equal deleted inserted replaced
321:a99073445c18 322:676d18bce8d7
3107 STRCPY_PRINT "ppO2:" ; ppO2 of diluent 3107 STRCPY_PRINT "ppO2:" ; ppO2 of diluent
3108 call PLED_standard_color 3108 call PLED_standard_color
3109 3109
3110 WIN_LEFT .130 3110 WIN_LEFT .130
3111 WIN_TOP .168 3111 WIN_TOP .168
3112
3113 movff char_O_flush_ppO2, lo
3114 incf lo,W ; ppO2 == 2.55 ?
3115 bnz PLED_show_end_ead_divemode_1
3116
3117 STRCPY_PRINT "----" ; YES: mark overflow.
3118 return
3119
3120 PLED_show_end_ead_divemode_1:
3112 lfsr FSR2,letter 3121 lfsr FSR2,letter
3113
3114 movff char_O_diluent_ppO2, lo
3115 clrf hi 3122 clrf hi
3116 bsf leftbind 3123 bsf leftbind
3117 output_16dp d'3' ; Show ppO2 w/o leading zero 3124 output_16dp d'3' ; Show ppO2 w/o leading zero
3118 bcf leftbind 3125 bcf leftbind
3119 STRCAT_PRINT " " ; Display ppO2[Diluent] 3126 STRCAT_PRINT " " ; Display ppO2[Diluent]