diff src/logbook.asm @ 495:2b1239e6ea85

Bugfix: More then one marker shown deleted profile
author heinrichsweikamp
date Sun, 02 Apr 2017 20:21:10 +0200
parents 336bfbbeb2b5
children a0247e9f71d0
line wrap: on
line diff
--- a/src/logbook.asm	Thu Mar 30 15:08:00 2017 +0200
+++ b/src/logbook.asm	Sun Apr 02 20:21:10 2017 +0200
@@ -935,6 +935,18 @@
     lfsr	FSR2,buffer
     STRCPY_PRINT    "m"
     bcf         log_marker_found            ; Clear flag
+    
+    movlw       profile_left
+    movwf       win_leftx2
+    movlw       profile_top
+    movwf       win_top
+    movlw       profile_height_pixels
+    movwf       win_height
+    movlw       LOW (profile_width_pixels*.2)
+    movwf       win_width+0
+    movlw       HIGH (profile_width_pixels*.2)
+    movwf       win_width+1
+    call        TFT_box_write           ; re-open box for d1
 
 profile_display_skip_marker:
     ;---- Draw CNS curve, if any ---------------------------------------------