diff code_part1/OSTC_code_asm_part1/divemode.asm @ 404:cd48cdb6e1ae

Add a setpoint change to the first depth sample in CC mode
author heinrichsweikamp
date Wed, 29 Jun 2011 07:32:07 +0200
parents ab962c4b19d6
children 2534277be060
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Tue Jun 28 22:37:02 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Wed Jun 29 07:32:07 2011 +0200
@@ -48,6 +48,9 @@
 ; Startup Tasks for deco modes
 	call	PLED_display_ndl_mask		; display "no stop" if not in gauge or apnoe mode
 
+	btfsc	FLAG_const_ppO2_mode		; only in const_ppO2_mode
+	bsf		setpoint_changed			; Add a setpoint change to the first depth sample in CC mode
+
 diveloop_loop:		; The diveloop starts here
 	btfss	onesecupdate					; tasks any new second
 	bra		diveloop_loop3