diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 285:8874b6cd8f36

small fix for the battery sign
author heinrichsweikamp
date Wed, 20 Apr 2011 06:54:33 +0200
parents 4ec488f046f4
children 5351d47ee28a
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Tue Apr 19 21:48:34 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Apr 20 06:54:33 2011 +0200
@@ -1856,13 +1856,13 @@
 	GETCUSTOM8	d'34'			; Color battery
 	btfsc	cc_active
 	movlw	color_yellow		; CC active
-	btfsc	cv_active
-	movlw	color_green			; CV active
+	btfsc	charge_done
+	movlw	color_green			; Charge done.
     call	PLED_set_color
 
-	movlw	.175
+	movlw	.177
 	movff	WREG,win_top		; row top (0-239)
-	movlw	.192-.175
+	movlw	.192-.177
 	movff	WREG,win_height		; row bottom (0-239)
 	movlw	.2
 	movff	WREG,win_leftx2		; column left (0-159)