comparison 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
comparison
equal deleted inserted replaced
494:beeac8806b93 495:2b1239e6ea85
933 call TFT_set_color 933 call TFT_set_color
934 WIN_FONT FT_TINY 934 WIN_FONT FT_TINY
935 lfsr FSR2,buffer 935 lfsr FSR2,buffer
936 STRCPY_PRINT "m" 936 STRCPY_PRINT "m"
937 bcf log_marker_found ; Clear flag 937 bcf log_marker_found ; Clear flag
938
939 movlw profile_left
940 movwf win_leftx2
941 movlw profile_top
942 movwf win_top
943 movlw profile_height_pixels
944 movwf win_height
945 movlw LOW (profile_width_pixels*.2)
946 movwf win_width+0
947 movlw HIGH (profile_width_pixels*.2)
948 movwf win_width+1
949 call TFT_box_write ; re-open box for d1
938 950
939 profile_display_skip_marker: 951 profile_display_skip_marker:
940 ;---- Draw CNS curve, if any --------------------------------------------- 952 ;---- Draw CNS curve, if any ---------------------------------------------
941 movf divisor_cns,W 953 movf divisor_cns,W
942 bz profile_display_skip_cns 954 bz profile_display_skip_cns