comparison 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
comparison
equal deleted inserted replaced
38:64976f1e0a1c 39:e4e91fe8b09d
31 sleeploop: ; enter sleepmode! 31 sleeploop: ; enter sleepmode!
32 call disable_ir ; IR off 32 call disable_ir ; IR off
33 call mcp_sleep 33 call mcp_sleep
34 bcf LEDg 34 bcf LEDg
35 bcf LEDr 35 bcf LEDr
36 movff menupos3,customview_surfmode; save last customview
36 call TFT_Display_FadeOut 37 call TFT_Display_FadeOut
37 call TFT_DisplayOff ; display off 38 call TFT_DisplayOff ; display off
38 call disable_rs232 ; USB off 39 call disable_rs232 ; USB off
39 call I2C_sleep_accelerometer 40 call I2C_sleep_accelerometer
40 call I2C_sleep_compass 41 call I2C_sleep_compass