comparison code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 407:47b1135cbff3

BUGFIX: SetPoint recording for logbook BUGFIX: Divetime seconds synced with stopwatch start
author heinrichsweikamp
date Thu, 07 Jul 2011 20:17:01 +0200
parents 88660a400338
children 9fc8feff27a5
comparison
equal deleted inserted replaced
406:2534277be060 407:47b1135cbff3
625 movwf EEADR 625 movwf EEADR
626 call read_eeprom ; Read SetPoint 626 call read_eeprom ; Read SetPoint
627 movff EEDATA, char_I_const_ppO2 ; Use SetPoint 627 movff EEDATA, char_I_const_ppO2 ; Use SetPoint
628 movff EEDATA, ppO2_setpoint_store ; Store also in this byte... 628 movff EEDATA, ppO2_setpoint_store ; Store also in this byte...
629 bsf setpoint_changed 629 bsf setpoint_changed
630 bsf event_occured ; set global event flag
631 bra timeout_divemenu2 ; quit menu!
630 632
631 divemenu_set_gas1a: 633 divemenu_set_gas1a:
632 bcf display_set_setpoint ; Clear Display Flag 634 bcf display_set_setpoint ; Clear Display Flag
633 bsf stored_gas_changed ; set event flag 635 bsf stored_gas_changed ; set event flag
634 bsf event_occured ; set global event flag 636 bsf event_occured ; set global event flag