Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 626:bab5a9fc1b10
restore last used customview in dive- and surface-mode
author | heinrichsweikamp |
---|---|
date | Sat, 11 Aug 2012 15:30:30 +0200 |
parents | 227eaded4e1b |
children | 420e62cd88ad |
comparison
equal
deleted
inserted
replaced
625:7743cf997648 | 626:bab5a9fc1b10 |
---|---|
40 movff last_surfpressure_30min+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine | 40 movff last_surfpressure_30min+0,int_I_pres_respiration+0 ; copy surface air pressure to deco routine |
41 movff last_surfpressure_30min+1,int_I_pres_respiration+1 ; 30min old values | 41 movff last_surfpressure_30min+1,int_I_pres_respiration+1 ; 30min old values |
42 movff last_surfpressure_30min+0,int_I_pres_surface+0 ; copy surface air pressure to deco routine | 42 movff last_surfpressure_30min+0,int_I_pres_surface+0 ; copy surface air pressure to deco routine |
43 movff last_surfpressure_30min+1,int_I_pres_surface+1 ; 30min old values | 43 movff last_surfpressure_30min+1,int_I_pres_surface+1 ; 30min old values |
44 | 44 |
45 clrf menupos3 ; Reset Custom views (Default: No custom view) | 45 ; Reload last customview |
46 read_int_eeprom d'93' ; Read last selected customview surface mode into EEDATA | |
47 movff EEDATA,menupos3 ; Copy to menupos3 | |
48 call surfcustomview_toggle2 ; Show customview | |
46 | 49 |
47 btfsc gauge_mode ; Ignore in gauge mode | 50 btfsc gauge_mode ; Ignore in gauge mode |
48 bra surfloop1 | 51 bra surfloop1 |
49 btfsc FLAG_apnoe_mode ; Ignore in Apnoe mode | 52 btfsc FLAG_apnoe_mode ; Ignore in Apnoe mode |
50 bra surfloop1 | 53 bra surfloop1 |