diff code_part1/OSTC_code_asm_part1/divemode.asm @ 319:4159c31abe31

BUGFIX surface pressure for deco in altitude.
author JeanDo
date Thu, 05 May 2011 02:16:20 +0200
parents 11be2470b9eb
children b7940978edc9
line wrap: on
line diff
--- 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