# HG changeset patch
# User JeanDo
# Date 1304554580 -7200
# Node ID 4159c31abe31f1a4d34d72c310af3fcd8bf6d6c2
# Parent  50e5b54b3fbd596a3edbd2a4f935f5bd468ff8da
BUGFIX surface pressure for deco in altitude.

diff -r 50e5b54b3fbd -r 4159c31abe31 code_part1/OSTC_code_asm_part1/divemode.asm
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Wed May 04 12:56:37 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Thu May 05 02:16:20 2011 +0200
@@ -1715,7 +1715,7 @@
 
 	call	get_free_EEPROM_location	; get last position in external EEPROM, may be up to 2 secs!
 
-    btfss   simulatormode_active
+    btfsc   simulatormode_active
     bra     diveloop_boot_1
     ; Normal mode = Surface pressure is the pressure 30mn before dive.
 	movff	last_surfpressure_30min+0,int_I_pres_surface+0	; LOW copy surfacepressure to deco routine