diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 47:56aea9fcdd8f

1.65beta release
author heinrichsweikamp
date Thu, 15 Jul 2010 18:09:58 +0200
parents 985607cfb813
children 0338aac9a267
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Jul 14 14:01:34 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Thu Jul 15 18:09:58 2010 +0200
@@ -156,11 +156,14 @@
 	return
 
 PLED_color_code_velocity:
+	btfss	neg_flag			; Ignore for ascend!
+	bra		PLED_color_code_velocity1		; Skip check!
 	movff	divA+0,lo
 	GETCUSTOM8	d'47'			; Velocity warn [m/min]
 	subwf	lo,W
 	btfsc	STATUS,C
 	bra		PLED_color_code_velocity2		; Set to warning color
+PLED_color_code_velocity1:
 	call	PLED_standard_color
 	return
 PLED_color_code_velocity2:
@@ -210,12 +213,11 @@
 
 
 PLED_resetdebugger:
-	bsf		LED_red
 	bcf		LED_blue
 	call	PLED_boot				; PLED boot
 	call	PLED_ClearScreen		; clean up OLED
-
 	call	PLED_standard_color
+	WIN_INVERT	.0					; Init new Wordprocessor
 
 	DISPLAYTEXT	.133
 	DISPLAYTEXT	.134