diff src/tft_outputs.asm @ 88:2a992aba61ef

fix minor display bug (battery percent)
author heinrichsweikamp
date Mon, 14 Apr 2014 15:59:16 +0200
parents 82750b8dfcee
children 3274e87fd027
line wrap: on
line diff
--- a/src/tft_outputs.asm	Wed Apr 02 10:25:24 2014 +0200
+++ b/src/tft_outputs.asm	Mon Apr 14 15:59:16 2014 +0200
@@ -2609,7 +2609,10 @@
 	bsf		leftbind
 	output_8
 	bcf		leftbind
-	STRCAT_PRINT	"%"
+	STRCAT	"% "
+	movlw	0x00
+	movff	WREG,buffer+4			; Only "xxx%"
+    STRCAT_PRINT	""
 	call	TFT_standard_color
 	WIN_TINY batt_voltage_column,batt_voltage_row
 	lfsr    FSR2,buffer