diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 138:dd4b899c56c1

1.75beta released
author heinrichsweikamp
date Thu, 06 Jan 2011 09:31:34 +0100
parents 20b2c77a6cd2
children 87a53efbb5ba
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Jan 05 20:44:10 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Thu Jan 06 09:31:34 2011 +0100
@@ -2862,10 +2862,13 @@
 	call		div16x16				;xA/xB=xC with xA as remainder 	
 
 	movff		xC+0,char_I_const_ppO2			; No, Overwrite with actual value
-	bra			PLED_const_ppO2_value1a
+	
+	GETCUSTOM8	d'39'							; Adjust fixed SP?
+	dcfsnz		WREG,F
+	bra			PLED_const_ppO2_value1a			; Yes!
+	; Do not adjust -> restore original SetPoint
 
 PLED_const_ppO2_value11:
-
 ; Setpoint in possible limits
 	movff		ppO2_setpoint_store,char_I_const_ppO2		; Restore Setpoint