diff src/customview.asm @ 353:573f2251cf49

NEW: Quit Simulator automatically when starting a real dive
author heinrichsweikamp
date Tue, 28 Jul 2015 16:32:55 +0200
parents 508d7fb98b34
children e99bb91f6f92
line wrap: on
line diff
--- a/src/customview.asm	Tue Jul 28 13:23:09 2015 +0200
+++ b/src/customview.asm	Tue Jul 28 16:32:55 2015 +0200
@@ -375,7 +375,8 @@
 	clrf	menupos3			            ; Reset to zero (Zero=no custom view)
     global  customview_mask
 customview_mask:	
-	call	TFT_clear_customview_divemode	
+    ; Clear custom view area in divemode
+    WIN_BOX_BLACK    dm_customview_row, dm_customview_bot, dm_customview_column, dm_customview_rgt	; top, bottom, left, right
 	WIN_SMALL	dm_customview_column,dm_customview_row
 	call	TFT_standard_color
 	movff	menupos3,WREG                   ; Menupos3 holds number of customview function