diff src/logbook.asm @ 434:a001f170a1f7

hunting a bug in the logbook (Day 3)
author heinrichsweikamp
date Wed, 22 Jun 2016 21:33:15 +0200
parents b22c732f858a
children 0590b8fafc8d
line wrap: on
line diff
--- a/src/logbook.asm	Wed Jun 22 12:56:27 2016 +0200
+++ b/src/logbook.asm	Wed Jun 22 21:33:15 2016 +0200
@@ -783,9 +783,14 @@
     movwf       win_width+1
     call        TFT_box_write           ; open box for d1
 
-    INIT_PIXEL_WRITE logbook_pixel_x_pos       ; pixel x2			(Also sets standard Color!)
+;    INIT_PIXEL_WRITE logbook_pixel_x_pos       ; pixel x2			(Also sets standard Color!)
 
 profile_display_loop:
+	; Init pixel write
+        movf    logbook_pixel_x_pos,W
+	mullw   2
+        call    pixel_write_col320
+    
 	movff		profile_temp+0,profile_temp2+0
 	movff		profile_temp+1,profile_temp2+1		; 16Bit x-scaler
 	incf		profile_temp2+1,F