changeset 13:2af021c66b0d

fix negative temperature display in surfacemode
author heinrichsweikamp
date Thu, 30 May 2013 19:11:12 +0200
parents 9db9a1deefd1
children 440e537e19d6
files src/tft_outputs.asm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/tft_outputs.asm	Sun May 26 12:06:51 2013 +0200
+++ b/src/tft_outputs.asm	Thu May 30 19:11:12 2013 +0200
@@ -1270,8 +1270,8 @@
 	bsf		ignore_digit5		; Full degrees only
 	output_16
 
-	; read-back the buffer+3
-	movff	buffer+3,lo
+	; read-back the buffer+4
+	movff	buffer+4,lo
 	movlw	" "					; Space
 	cpfseq	lo					; Was it a space (between +1°C and -1°C)?
 	bra		TFT_temp_surfmode1	; No.