diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Wed Jul 06 22:06:40 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Thu Jul 07 20:17:01 2011 +0200
@@ -627,6 +627,8 @@
 	movff	EEDATA, char_I_const_ppO2	; Use SetPoint
 	movff	EEDATA, ppO2_setpoint_store	; Store also in this byte...
 	bsf		setpoint_changed
+	bsf		event_occured				; set global event flag
+	bra		timeout_divemenu2			; quit menu!
 
 divemenu_set_gas1a:
 	bcf		display_set_setpoint		; Clear Display Flag