comparison src/divemenu_tree.asm @ 579:e6d5a1f02daf

Work-Around for 2.97 stable
author heinrichsweikamp
date Wed, 21 Feb 2018 13:52:45 +0100
parents 2b8ef780cfa8
children b455b31ce022
comparison
equal deleted inserted replaced
578:2b8ef780cfa8 579:e6d5a1f02daf
259 bra do_toggle_active2 ; No, disable now! 259 bra do_toggle_active2 ; No, disable now!
260 lfsr FSR1,opt_gas_type_backup+0 ; copy opt_gas_type_backup+W back to opt_gas_type+W 260 lfsr FSR1,opt_gas_type_backup+0 ; copy opt_gas_type_backup+W back to opt_gas_type+W
261 movff PLUSW1,lo 261 movff PLUSW1,lo
262 lfsr FSR1,opt_gas_type+0 262 lfsr FSR1,opt_gas_type+0
263 movff lo,PLUSW1 263 movff lo,PLUSW1
264 ; btfsc ccr_diluent_setup ; diluents?
265 ; bra do_toggle_active3 ; Yes, ignore restoring change depth (Work-around for potential issue) mH
266 lfsr FSR1,opt_OC_bail_gas_change_backup+0 ; copy opt_OC_bail_gas_change_backup+W back to opt_OC_bail_gas_change+W 264 lfsr FSR1,opt_OC_bail_gas_change_backup+0 ; copy opt_OC_bail_gas_change_backup+W back to opt_OC_bail_gas_change+W
267 movff PLUSW1,lo 265 movff PLUSW1,lo
268 lfsr FSR1,opt_OC_bail_gas_change+0 266 lfsr FSR1,opt_OC_bail_gas_change+0
269 movff lo,PLUSW1 267 movff lo,PLUSW1
270 bra do_toggle_active3 268 bra do_toggle_active3
271 do_toggle_active2: 269 do_toggle_active2:
272 ; btfsc ccr_diluent_setup ; diluents?
273 ; bra do_toggle_active3 ; Yes, ignore restoring change depth (Work-around for potential issue) mH
274 clrf PLUSW1 ; 0=Disabled, 1=First, 2=Travel, 3=Deco 270 clrf PLUSW1 ; 0=Disabled, 1=First, 2=Travel, 3=Deco
275 lfsr FSR1,opt_OC_bail_gas_change+0 271 lfsr FSR1,opt_OC_bail_gas_change+0
276 clrf PLUSW1 ; also delete change depth here to have the menu updated immediately 272 clrf PLUSW1 ; also delete change depth here to have the menu updated immediately
277 do_toggle_active3: 273 do_toggle_active3:
278 movlw .5 274 movlw .5