changeset 400:40b282821dcf

fixes issue #48
author heinrichsweikamp
date Sun, 26 Jun 2011 12:30:42 +0200
parents 1677453fbbe3
children 6ed12fad3b97
files code_part1/OSTC_code_asm_part1/pled_outputs.asm
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun Jun 26 12:27:28 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sun Jun 26 12:30:42 2011 +0200
@@ -2131,6 +2131,9 @@
 
 
 PLED_display_apnoe_descent:
+	btfsc	menubit					; Divemode menu active?
+	return							; Yes, do not display/update descent time
+
 	call		PLED_divemask_color	; Set Color for Divemode mask
 	DISPLAYTEXT		d'139'			; "Descent"
 	call	PLED_standard_color