# HG changeset patch
# User heinrichsweikamp
# Date 1295209044 -3600
# Node ID 3f4d60385f9cf966c90f99a467a6fb40a53d4cdb
# Parent  b7adae4d028984fe57d440d004286ee8073a5df6
custom view default for surfacemode

diff -r b7adae4d0289 -r 3f4d60385f9c code_part1/OSTC_code_asm_part1/changelog.txt
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Fri Jan 14 18:49:56 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Sun Jan 16 21:17:24 2011 +0100
@@ -1,3 +1,8 @@
+New in 1.77 Beta:
+BETA Version - Do NOT use for diving!
+BUGFIX: No Custom view in Surfacemode as default
+
+
 New in 1.76 Beta:
 BETA Version - Do NOT use for diving!
 NEW: "beta" is shown for beta versions
diff -r b7adae4d0289 -r 3f4d60385f9c code_part1/OSTC_code_asm_part1/surfmode.asm
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Fri Jan 14 18:49:56 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Sun Jan 16 21:17:24 2011 +0100
@@ -42,6 +42,8 @@
 	movff	last_surfpressure_30min+0,int_I_pres_surface+0			; copy surface air pressure to deco routine
 	movff	last_surfpressure_30min+1,int_I_pres_surface+1			; 30min old values 
 
+	clrf	menupos3					; Reset Custom views (Default: No custom view)
+
 	btfsc	gauge_mode					; Ignore in gauge mode
 	bra		surfloop1
 	btfsc	FLAG_apnoe_mode				; Ignore in Apnoe mode