diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 598:f3735da18809

NEW: CF65: Show a safety stop for no-deco dives Texts 194 and 227 need translation
author heinrichsweikamp
date Sun, 24 Jun 2012 12:45:34 +0200
parents ab2686087bce
children e755ed869a3b
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Thu Jun 21 08:32:29 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Sun Jun 24 12:45:34 2012 +0200
@@ -722,6 +722,9 @@
 	btfss	dekostop_active
 	call	PLED_display_ndl		; Update NDL display at once
 
+	btfsc	safety_stop_active
+	bcf		safety_stop_active		; Clear flag to rebuild the safety stop
+
 timeout_divemenu2a:
 	bcf		menubit
 	bcf		premenu					; Yes, clear flags and menu, display dive time and mask again