Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 254:8f20e8948b97
working word-around for nofly issue
author | heinrichsweikamp |
---|---|
date | Fri, 08 Apr 2011 11:58:55 +0200 |
parents | 3dbeacf42e9e |
children | f8f869bafd92 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm Sun Apr 03 11:46:06 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/surfmode.asm Fri Apr 08 11:58:55 2011 +0200 @@ -1,4 +1,4 @@ - +f ; OSTC - diving computer code ; Copyright (C) 2008 HeinrichsWeikamp GbR @@ -267,7 +267,6 @@ return calc_deko_surfmode: - bsf LED_red ostc_debug 'I' ; Sends debug-information to screen if debugmode active movff last_surfpressure+0,int_I_pres_surface+0 ; copy surface air pressure to deco routine @@ -288,7 +287,10 @@ call deco_calc_wo_deco_step_1_min ; calculate deco in surface mode movlb b'00000001' ; select ram bank 1 ostc_debug 'J' ; Sends debug-information to screen if debugmode active - bcf LED_red + +movff int_O_desaturation_time+0,desaturation_time_buffer+0 +movff int_O_desaturation_time+1,desaturation_time_buffer+1 + return