comparison src/divemode.asm @ 205:618191753d2b

Preparations for 1.7
author heinrichsweikamp
date Wed, 26 Nov 2014 14:30:25 +0100
parents 93085f540746
children 031d875200ca
comparison
equal deleted inserted replaced
204:93085f540746 205:618191753d2b
101 btfsc divemode_gaschange ; Gas switch flag set? 101 btfsc divemode_gaschange ; Gas switch flag set?
102 rcall gas_switched_common ; Yes 102 rcall gas_switched_common ; Yes
103 103
104 btfsc toggle_gf ; =1: Toggle GF/aGF 104 btfsc toggle_gf ; =1: Toggle GF/aGF
105 rcall divemodemode_togglegf ; Toggle aGF/GF 105 rcall divemodemode_togglegf ; Toggle aGF/GF
106
107 ; btfsc FLAG_ccr_mode ; In CCR mode
108 ; call TFT_active_gas_divemode ; Update Setpoint every second
109 106
110 call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays 107 call compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays
111 108
112 diveloop_loop3: 109 diveloop_loop3:
113 rcall test_switches_divemode ; Check switches in divemode 110 rcall test_switches_divemode ; Check switches in divemode