changeset 606:8b250afb8bdd

minor
author heinrichsweikamp
date Sun, 25 Nov 2018 15:15:27 +0100
parents 5ce603c29750
children c5151a490d88
files src/divemode.asm
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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