changeset 319:4159c31abe31

BUGFIX surface pressure for deco in altitude.
author JeanDo
date Thu, 05 May 2011 02:16:20 +0200
parents 50e5b54b3fbd
children 08a3f503e93e
files code_part1/OSTC_code_asm_part1/divemode.asm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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