diff src/tft_outputs.asm @ 130:c935f7fbd39c

no safety stop during menu display
author heinrichsweikamp
date Thu, 03 Jul 2014 19:34:41 +0200
parents 9e856337b225
children 35b9da423de6
line wrap: on
line diff
--- a/src/tft_outputs.asm	Thu Jul 03 12:08:06 2014 +0200
+++ b/src/tft_outputs.asm	Thu Jul 03 19:34:41 2014 +0200
@@ -729,6 +729,9 @@
 
     global  TFT_show_safety_stop
 TFT_show_safety_stop:
+    btfsc   divemode_menu               ; Is the dive mode menu shown?
+    return                              ; Yes, return
+
 	tstfsz	safety_stop_countdown			; Countdown at zero?
 	bra		TFT_show_safety_stop2			; No, show stop