comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 274:a728b4a1b660

Setpoint changes stored in profile, EAD and END displayed in divemode (Customview 7)
author heinrichsweikamp
date Sun, 17 Apr 2011 17:57:44 +0200
parents 3dbeacf42e9e
children 46d1012d096a
comparison
equal deleted inserted replaced
273:35bbab4d3c6f 274:a728b4a1b660
592 addwf menupos,W ; add SP number 0-2 592 addwf menupos,W ; add SP number 0-2
593 movwf EEADR 593 movwf EEADR
594 call read_eeprom ; Read SetPoint 594 call read_eeprom ; Read SetPoint
595 movff EEDATA, char_I_const_ppO2 ; Use SetPoint 595 movff EEDATA, char_I_const_ppO2 ; Use SetPoint
596 movff EEDATA, ppO2_setpoint_store ; Store also in this byte... 596 movff EEDATA, ppO2_setpoint_store ; Store also in this byte...
597 bsf setpoint_changed
597 598
598 divemenu_set_gas1a: 599 divemenu_set_gas1a:
599 bcf display_set_setpoint ; Clear Display Flag 600 bcf display_set_setpoint ; Clear Display Flag
600 bsf stored_gas_changed ; set event flag 601 bsf stored_gas_changed ; set event flag
601 bsf event_occured ; set global event flag 602 bsf event_occured ; set global event flag