comparison src/compass_ops.asm @ 259:151148e2281f

minor cleanup
author heinrichsweikamp
date Mon, 23 Mar 2015 19:58:19 +0100
parents da9074180bff
children 9dbdb060d44c
comparison
equal deleted inserted replaced
258:da9074180bff 259:151148e2281f
1280 ; calculate width = RM-D 1280 ; calculate width = RM-D
1281 movff hi,WREG 1281 movff hi,WREG
1282 subwf lo,0 1282 subwf lo,0
1283 movff WREG,win_width ; RM-DD 1283 movff WREG,win_width ; RM-DD
1284 movff WREG,win_bargraph 1284 movff WREG,win_bargraph
1285 incf hi,W ; +1 pixel to avopid clipping of chars 1285 ; incf hi,W ; +1 pixel to avopid clipping of chars
1286 movff WREG,win_leftx2 1286 ; movff WREG,win_leftx2
1287 movff hi,win_leftx2
1287 movlw color_black 1288 movlw color_black
1288 call TFT_set_color 1289 call TFT_set_color
1289 call TFT_box 1290 call TFT_box
1290 return 1291 return
1291 1292