# HG changeset patch # User heinrichsweikamp # Date 1543155327 -3600 # Node ID 8b250afb8bddf1fc8800bcc401abb88ca8c35350 # Parent 5ce603c29750bfe1c2c213ea73011df6a3b76125 minor diff -r 5ce603c29750 -r 8b250afb8bdd src/divemode.asm --- a/src/divemode.asm Sun Nov 25 13:21:52 2018 +0100 +++ b/src/divemode.asm Sun Nov 25 15:15:27 2018 +0100 @@ -200,8 +200,7 @@ btfsc oneminupdate ; one minute tasks rcall update_divemode60 ; update clock, etc. - btfss FLAG_oc_mode ; are we in OC mode? - bsf FLAG_TFT_active_gas_divemode; NO - have the gas and setpoint redrawn on every second to update setpoint display, animate the blinking, etc. + bsf FLAG_TFT_active_gas_divemode; have the gas and setpoint redrawn on every second to update setpoint display, animate the blinking, etc. btfss alternative_divelayout rcall TFT_output3_normal @@ -552,9 +551,6 @@ call deco_calc_hauptroutine ; invoke the deco engine (p2_deco.c) banksel common - ; the displayed gas may need a different color-coding - bsf FLAG_TFT_active_gas_divemode; redraw gas/setpoint/diluent - ; check if display shall be updated due to deco engine restart btfsc FLAG_TFT_display_ndl_or_deko; shall update immediately? bra calc_deko_engine_update ; YES