changeset 433:b22c732f858a

minor
author heinrichsweikamp
date Wed, 22 Jun 2016 12:56:27 +0200
parents 929feb0da4f5
children a001f170a1f7
files src/logbook.asm
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/logbook.asm	Wed Jun 22 12:36:15 2016 +0200
+++ b/src/logbook.asm	Wed Jun 22 12:56:27 2016 +0200
@@ -224,7 +224,7 @@
 	dcfsnz	temp1,F
 	movlw	.8*logbook_row_offset
 
-	movff	WREG,win_top
+	movwf	win_top
 	STRCPY_PRINT "\xB7"
 	return
 
@@ -729,6 +729,7 @@
 	movwf		win_height
 	movlw		profile_width_pixels+.1
 	movwf		win_width+0				; Right border (0-159)
+	clrf		win_width+1
 	bra		display_profile2f			; No 0m line
 display_profile2e:
 	call		TFT_box						; Inputs:  win_top, win_leftx2, win_height, win_width, win_color1, win_color2