diff src/sleepmode.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 fcaf94b913db
children ec4d8503ec45
line wrap: on
line diff
--- a/src/sleepmode.asm	Thu Aug 15 13:30:05 2013 +0200
+++ b/src/sleepmode.asm	Thu Aug 15 13:55:55 2013 +0200
@@ -33,6 +33,7 @@
     call    mcp_sleep
 	bcf		LEDg
 	bcf		LEDr
+    movff   menupos3,customview_surfmode; save last customview
 	call	TFT_Display_FadeOut
 	call	TFT_DisplayOff			; display off
 	call	disable_rs232			; USB off