Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 210:f60acc323701
mini-cleanup
author | heinrichsweikamp |
---|---|
date | Sun, 20 Feb 2011 19:57:14 +0100 |
parents | 2d9af08ed0ac |
children | f4b79292e31f |
line wrap: on
line diff
--- 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: