diff src/tft_outputs.asm @ 60:1464cd73d184

BUGFIX: Display Desat.-Time >100 hours
author heinrichsweikamp
date Tue, 03 Dec 2013 15:10:02 +0100
parents 448ba265fdae
children e7c7c7eeea58
line wrap: on
line diff
--- a/src/tft_outputs.asm	Sun Dec 01 09:08:31 2013 +0100
+++ b/src/tft_outputs.asm	Tue Dec 03 15:10:02 2013 +0100
@@ -2906,6 +2906,8 @@
 	bcf		leftbind
     movlw   surf_warning_length             ; Only use surface string length
     rcall   TFT_fillup_with_spaces          ; Fillup FSR2 with spaces (Total string length in #WREG)
+    movlw   .0
+    movff   WREG,buffer+11
 	STRCAT_PRINT	""
 	return
 
@@ -2929,6 +2931,8 @@
 	bcf		leftbind
     movlw   surf_warning_length         ; Only use surface string length
     rcall   TFT_fillup_with_spaces      ; Fillup FSR2 with spaces (Total string length in #WREG)
+    movlw   .0
+    movff   WREG,buffer+11
 	STRCAT_PRINT	""
 	return