# HG changeset patch # User heinrichsweikamp # Date 1298228234 -3600 # Node ID f60acc323701d6e092efa636028f51bcbbd0e943 # Parent cdba979821ee152e9a86532384e84d4724e0d326 mini-cleanup diff -r cdba979821ee -r f60acc323701 code_part1/OSTC_code_asm_part1/divemode.asm --- a/code_part1/OSTC_code_asm_part1/divemode.asm Sun Feb 20 10:59:03 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Sun Feb 20 19:57:14 2011 +0100 @@ -812,8 +812,8 @@ check_ppO2_0: movff xC+0,sub_b+0 movff xC+1,sub_b+1 - GETCUSTOM8 d'17' ; ppo2_warning_low - mullw d'100' ; ppo2_warning_low*100 + GETCUSTOM8 d'17' ; ppo2_warning_low + mullw d'100' ; ppo2_warning_low*100 movff PRODL,sub_a+0 movff PRODH,sub_a+1 call sub16 @@ -845,7 +845,7 @@ return ; done -check_gas_change: ; Checks if a better gas should be selected (by user) +check_gas_change: ; Checks if a better gas should be selected (by user) bcf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode movff rel_pressure+0,xA+0 @@ -961,7 +961,7 @@ bsf better_gas_available ;=1: A better gas is available and a gas change is advised in divemode check_gas_change6: ;Done - call PLED_active_gas_divemode ; Display gas, if required (and with "*" if irequired...) + call PLED_active_gas_divemode; Display gas, if required (and with "*" if irequired...) return calculate_noflytime: