comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 505:24e018713ea2

fix bb bug #66: CCR air mode: should not blink for my bailout
author heinrichsweikamp
date Sat, 19 Nov 2011 11:35:08 +0100
parents 4c7f7807b250
children ed51a7a89d9a
comparison
equal deleted inserted replaced
504:a97218ac605d 505:24e018713ea2
1056 subwf EEDATA,W ; Change depth-better_gas_window 1056 subwf EEDATA,W ; Change depth-better_gas_window
1057 cpfslt xC+0 ; current depth<Change depth-better_gas_window? 1057 cpfslt xC+0 ; current depth<Change depth-better_gas_window?
1058 bsf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode 1058 bsf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode
1059 1059
1060 check_gas_change6: ;Done 1060 check_gas_change6: ;Done
1061 call PLED_active_gas_divemode; Display gas, if required (and with "*" if irequired...) 1061 btfsc FLAG_const_ppO2_mode ; in ppO2 mode?
1062 bcf better_gas_available ; Yes, do not blink better gas
1063
1064 call PLED_active_gas_divemode; Display gas, if required (and with "*" if required...)
1062 return 1065 return
1063 1066
1064 ;============================================================================= 1067 ;=============================================================================
1065 1068
1066 calculate_noflytime: 1069 calculate_noflytime: