diff src/divemode.asm @ 482:c0ee33f1f399

New customview #12 for PSCR mode shows ppO2, O2 drop and lung ratio
author heinrichsweikamp
date Tue, 07 Feb 2017 12:15:12 +0100
parents ad8acade5567
children 18e047102e49
line wrap: on
line diff
--- a/src/divemode.asm	Mon Feb 06 17:24:05 2017 +0100
+++ b/src/divemode.asm	Tue Feb 07 12:15:12 2017 +0100
@@ -1819,6 +1819,11 @@
     bra     check_ppO2_b        ; No
     return                      ; Yes, do not show twice (in custom view and in warning area)
 check_ppO2_b:
+    movlw   .12
+    cpfseq  menupos3            ; ppO2 shown in Custom View 12?
+    bra     check_ppO2_c        ; No
+    return                      ; Yes, do not show twice (in custom view and in warning area)
+check_ppO2_c:
     incf	warning_counter,F	; increase counter
     goto    TFT_display_ppo2	; Show ppO2  (and return)