comparison src/divemenu_tree.asm @ 99:87cc1adfe4da

show event "bailout" in the internal logbook
author heinrichsweikamp
date Fri, 02 May 2014 14:13:35 +0200
parents 53a99a2dc6a1
children 32c17df38423
comparison
equal deleted inserted replaced
98:24b3fd59e61f 99:87cc1adfe4da
90 do_switch_sp: 90 do_switch_sp:
91 decf menupos,W ; 1-5 -> 0-4 91 decf menupos,W ; 1-5 -> 0-4
92 lfsr FSR1,char_I_setpoint_cbar 92 lfsr FSR1,char_I_setpoint_cbar
93 movff PLUSW1,char_I_const_ppO2; Setup fixed Setpoint 93 movff PLUSW1,char_I_const_ppO2; Setup fixed Setpoint
94 bsf setpoint_changed ; Set flag (For profile) 94 bsf setpoint_changed ; Set flag (For profile)
95 bsf event_occured ; Set global event byte
95 96
96 ; Reconfigure last diluent 97 ; Reconfigure last diluent
97 extern setup_dil_registers 98 extern setup_dil_registers
98 bcf is_bailout ; =1: Bailout 99 bcf is_bailout ; =1: Bailout
99 movff active_diluent,WREG ; As a backup when switching back from Bailout to CCR 100 movff active_diluent,WREG ; As a backup when switching back from Bailout to CCR