Mercurial > public > hwos_code
comparison src/sleepmode.asm @ 416:4389fe9673b2
NEW: Support for new logbook memory chip (minor hardware change)
BUGFIX: Button sensitivity was not reset after update in some cases
author | heinrichsweikamp |
---|---|
date | Mon, 18 Apr 2016 14:34:57 +0200 |
parents | 653a3ab08062 |
children | aadfe9f2edaf |
comparison
equal
deleted
inserted
replaced
415:fd3865a82519 | 416:4389fe9673b2 |
---|---|
34 sleeploop: ; enter sleepmode! | 34 sleeploop: ; enter sleepmode! |
35 call disable_ir_s8 ; IR/S8 off | 35 call disable_ir_s8 ; IR/S8 off |
36 call mcp_sleep | 36 call mcp_sleep |
37 bcf LEDg | 37 bcf LEDg |
38 bcf LEDr | 38 bcf LEDr |
39 movff menupos3,customview_surfmode; save last customview | 39 movff menupos3,customview_surfmode; save last customview |
40 call TFT_Display_FadeOut | 40 call TFT_Display_FadeOut |
41 call TFT_DisplayOff ; display off | 41 call TFT_DisplayOff ; display off |
42 call disable_rs232 ; USB off | 42 call disable_rs232 ; USB off |
43 call vault_decodata_into_eeprom ; store deco data | 43 call vault_decodata_into_eeprom ; store deco data |
44 call I2C_sleep_accelerometer | 44 call I2C_sleep_accelerometer |