diff code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 3:3cf8af30b36e

v1.51 beta
author heinrichsweikamp
date Thu, 04 Feb 2010 14:56:12 +0100
parents 96a35aeda5f2
children d4f0c097a7fa
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Wed Jan 20 15:17:37 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Thu Feb 04 14:56:12 2010 +0100
@@ -198,7 +198,7 @@
 	call	menu_gassetup_grey_inactive			; Sets Greyvalue for inactive gases
 	call	word_processor	
 
-	WIN_COLOR	color_white	
+	call	PLED_standard_color
 	
 	incf	decodata+0,F
 	movlw	d'5'	
@@ -1050,8 +1050,15 @@
 	rrcf	EEDATA			; roll flags into carry
 	decfsz	lo,F			; max. 5 times...
 	bra		menu_gassetup_list1
-	movlw	color_white	
+	
 	btfss	STATUS,C		; test carry
+	bra		menu_gassetup_list1_grey
+
+	GETCUSTOM8	d'35'		;movlw	color_white	
+	call	PLED_set_color	; grey out inactive gases!
+	return
+
+menu_gassetup_list1_grey:
 	movlw	color_grey
 	call	PLED_set_color	; grey out inactive gases!
 	return