changeset 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 5b560559bc1a
children dd780d7b352b
files code_part1/OSTC_code_asm_part1/divemode.asm
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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