changeset 316:c6c934f05b42 new_screen_layout

VSIbar #3b: small fix on the bar's width
author janos_kovacs <kovjanos@gmail.com>
date Wed, 10 Jun 2015 22:47:38 +0100
parents 4f83470dcece
children 7b64c0ba6a7e
files src/tft_outputs.asm
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/tft_outputs.asm	Wed Jun 10 22:32:38 2015 +0100
+++ b/src/tft_outputs.asm	Wed Jun 10 22:47:38 2015 +0100
@@ -1050,10 +1050,10 @@
    
     movff   sub_c+0,win_top
     movff   divB,win_height
-    movlw   dm_velobar_width-.4
+    movlw   dm_velobar_width-.2
     movff   WREG,win_width
     movff   WREG,win_bargraph
-    movlw   dm_velobar_lft+.3
+    movlw   dm_velobar_lft+.2
     movff   WREG,win_leftx2
     movlw   color_green
     call    TFT_set_color
@@ -1143,10 +1143,10 @@
 
     movff   sub_a+0,win_top
     movff   divB,win_height
-    movlw   dm_velobar_width-.4
+    movlw   dm_velobar_width-.2
     movff   WREG,win_width
     movff   WREG,win_bargraph
-    movlw   dm_velobar_lft+.3
+    movlw   dm_velobar_lft+.2
     movff   WREG,win_leftx2
     movlw   color_green
     call    TFT_set_color