diff src/customview.asm @ 39:e4e91fe8b09d

remember last customview in dive and surface mode
author mh@mh-THINK.fritz.box
date Thu, 15 Aug 2013 13:55:55 +0200
parents 11d4fc797f74
children 5041477eee79
line wrap: on
line diff
--- a/src/customview.asm	Thu Aug 15 13:30:05 2013 +0200
+++ b/src/customview.asm	Thu Aug 15 13:55:55 2013 +0200
@@ -276,6 +276,7 @@
 	bra		customview_mask		            ; No, show
 customview_toggle_reset:					; Timeout occured
 	clrf	menupos3			            ; Reset to zero (Zero=no custom view)
+    global  customview_mask
 customview_mask:	
 	call	TFT_clear_customview_divemode	
 	WIN_SMALL	divemode_customview_column,divemode_customview_row