Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 75:35d947d7a6e7
1.73beta started, small fixes
author | heinrichsweikamp |
---|---|
date | Sun, 05 Dec 2010 21:40:58 +0100 |
parents | a1ccb92b59cd |
children | 3e351e25f5d1 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Mon Nov 15 15:19:24 2010 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Sun Dec 05 21:40:58 2010 +0100 @@ -1054,7 +1054,10 @@ btfsc simulatormode_active ; Are we in simulator mode? goto end_dive_common ; Yes, discard everything - ; Dive finished (and longer then one minute or Apnoe timeout occured) + ; Dive finished (and longer then one minute or Apnoe timeout occured and no simulated dive) +;new 1.73beta: + clrf surface_interval+0 + clrf surface_interval+1 ; Clear surface interval timer btfsc FLAG_apnoe_mode ; Calc max. depth (again) for very short apnoe dives rcall apnoe_calc_maxdepth @@ -1312,11 +1315,6 @@ call deco_main_gradient_array movlb b'00000001' ; select ram bank 1 - btfss restore_deco_data ; Restore decodata? - goto surfloop ; and return to surfaceloop -;new 1.71beta: - clrf surface_interval+0 - clrf surface_interval+1 ; Clear surface interval timer goto surfloop ; and return to surfaceloop timeout_divemode: