# HG changeset patch # User JeanDo # Date 1294105755 -3600 # Node ID 245de99d1d15514edaddb10d784667cc902187f2 # Parent ed275788a291dc24787a690ed4f5fc79056a7e2f FIX SetPoint list color. diff -r ed275788a291 -r 245de99d1d15 code_part1/OSTC_code_asm_part1/pled_outputs.asm --- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Tue Jan 04 01:55:49 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Tue Jan 04 02:49:15 2011 +0100 @@ -1164,6 +1164,7 @@ WIN_LEFT .90 WIN_FONT FT_SMALL bsf leftbind + call PLED_standard_color ; list three SP in Gaslist movlw d'35' ; 36 = current SP position in EEPROM @@ -1201,17 +1202,13 @@ decf active_gas,W ; Gas 0-4 mullw d'4' movf PRODL,W - addlw d'7' ; = address for He ratio - movwf EEADR - call read_eeprom ; Read He ratio - movff EEDATA,hi ; And copy into hold register - decf active_gas,W ; Gas 0-4 - mullw d'4' - movf PRODL,W addlw d'6' ; = address for O2 ratio movwf EEADR - call read_eeprom ; Read O2 ratio - movff EEDATA, lo ; O2 ratio + call read_eeprom ; Read O2 ratio + movff EEDATA, lo ; O2 ratio + incf EEADR,F ; = address for He + call read_eeprom ; Read He ratio + movff EEDATA,hi ; And copy into hold register WIN_LEFT .90 WIN_TOP .100 @@ -2477,6 +2474,7 @@ WIN_LEFT .100 WIN_FONT FT_SMALL bsf leftbind + call PLED_standard_color ; list three SP in Gaslist movlw d'35' ; 36 = current SP position in EEPROM