comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 4:2b5c52ae3923

1.52 beta rc
author heinrichsweikamp
date Sun, 14 Feb 2010 20:09:25 +0100
parents 3cf8af30b36e
children 68825abc35f7
comparison
equal deleted inserted replaced
3:3cf8af30b36e 4:2b5c52ae3923
606 movlw d'35' ; offset in memory 606 movlw d'35' ; offset in memory
607 addwf menupos,W ; add SP number 0-2 607 addwf menupos,W ; add SP number 0-2
608 movwf EEADR 608 movwf EEADR
609 call read_eeprom ; Read SetPoint 609 call read_eeprom ; Read SetPoint
610 movff EEDATA, char_I_const_ppO2 ; Use SetPoint 610 movff EEDATA, char_I_const_ppO2 ; Use SetPoint
611 movff EEDATA, ppO2_setpoint_store ; Store also in this byte...
611 612
612 divemenu_set_gas1a: 613 divemenu_set_gas1a:
613 bcf display_set_setpoint ; Clear Display Flag 614 bcf display_set_setpoint ; Clear Display Flag
614 ; Now, Set correct Diluent (again) 615 ; Now, Set correct Diluent (again)
615 read_int_eeprom d'33' ; Read byte (stored in EEDATA) 616 read_int_eeprom d'33' ; Read byte (stored in EEDATA)