diff src/surfmode.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 7c7d7644ca37
line wrap: on
line diff
--- a/src/surfmode.asm	Thu Aug 15 13:30:05 2013 +0200
+++ b/src/surfmode.asm	Thu Aug 15 13:55:55 2013 +0200
@@ -133,7 +133,7 @@
 	call	TFT_update_surf_press		; display surface pressure
 	call	TFT_temp_surfmode			; Displays temperature
 	call	TFT_display_decotype_surface
-    extern  surf_customview_mask
+    movff   customview_surfmode,menupos3    ; Reload last customview
     call    surf_customview_mask        ; Update #menupos3 view
 
     WIN_TOP     .0