Mercurial > public > mk2
changeset 285:8874b6cd8f36
small fix for the battery sign
author | heinrichsweikamp |
---|---|
date | Wed, 20 Apr 2011 06:54:33 +0200 |
parents | 908d0013727e |
children | 5351d47ee28a |
files | code_part1/OSTC_code_asm_part1/pled_outputs.asm code_part1/OSTC_code_asm_part1/surfmode.asm |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Tue Apr 19 21:48:34 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Wed Apr 20 06:54:33 2011 +0200 @@ -1856,13 +1856,13 @@ GETCUSTOM8 d'34' ; Color battery btfsc cc_active movlw color_yellow ; CC active - btfsc cv_active - movlw color_green ; CV active + btfsc charge_done + movlw color_green ; Charge done. call PLED_set_color - movlw .175 + movlw .177 movff WREG,win_top ; row top (0-239) - movlw .192-.175 + movlw .192-.177 movff WREG,win_height ; row bottom (0-239) movlw .2 movff WREG,win_leftx2 ; column left (0-159)
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm Tue Apr 19 21:48:34 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/surfmode.asm Wed Apr 20 06:54:33 2011 +0200 @@ -118,7 +118,7 @@ bra surfloop_loop1 ; No ; One Second tasks for ppO2 modes - bra surfloop_loop1 ; Do not search for sensor in CC mode + bra surfloop_loop1 ; surfloop_loop1: ; One Second tasks for all modes