comparison code_part1/OSTC_code_asm_part1/menu_reset.asm @ 829:69bc5feca5da

BUGFIX: "First Diluent" and "SP Mode" used same EEPROM location
author heinrichsweikamp
date Tue, 20 Oct 2015 12:01:18 +0200
parents e49a35ab7394
children
comparison
equal deleted inserted replaced
828:4b6d848cb7b8 829:69bc5feca5da
519 rcall reset_gas ; saves default value for diluent #5 519 rcall reset_gas ; saves default value for diluent #5
520 520
521 movlw .1 521 movlw .1
522 movwf EEDATA 522 movwf EEDATA
523 write_int_eeprom .33 ; First Gas (1-5) 523 write_int_eeprom .33 ; First Gas (1-5)
524 write_int_eeprom .116 ; First Diluent (1-5) 524 write_int_eeprom .115 ; First Diluent (1-5)
525 return 525 return
526 526
527 ; Write WREG:lo twice, w/o any type clearing, pre-incrementing EEADR 527 ; Write WREG:lo twice, w/o any type clearing, pre-incrementing EEADR
528 reset_gas: 528 reset_gas:
529 incf EEADR,F 529 incf EEADR,F