diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 87:8d3c1bef6551

some preparations for new custom view
author heinrichsweikamp
date Thu, 09 Dec 2010 22:07:36 +0100
parents 2227459e8ef2
children 6f8e3a08011e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Thu Dec 09 20:41:56 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Thu Dec 09 22:07:36 2010 +0100
@@ -212,7 +212,7 @@
 	bra		timeout_divemenu2			; quit menu!
 
 toggle_stopwatch2:
-	call	PLED_stopwatch_remove		; Remove Stopwatch Outputs
+	call	PLED_clear_customview_divemode	; Remove Stopwatch Outputs
 	bra		timeout_divemenu2			; quit menu!
 
 divemode_toggle_brightness:
@@ -737,7 +737,11 @@
 	call	PLED_clear_divemode_menu; Clear dive mode menu
 	call	PLED_divemode_mask		; Display mask
 	call	PLED_divemins			; Display (new) divetime!
-	call	PLED_temp_divemode		; redraw temperature
+	btfss	dekostop_active
+	call	PLED_display_ndl_mask
+	btfsc	dekostop_active
+	call	PLED_display_deko_mask
+
 	clrf	timeout_counter3		; Also clear timeout
 	bcf		display_see_deco		; clear all display flags
 	bcf		display_see_l_tissue