comparison 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
comparison
equal deleted inserted replaced
481:3e643ec05dac 482:c0ee33f1f399
1817 movlw .11 1817 movlw .11
1818 cpfseq menupos3 ; ppO2 shown in Custom View 11? 1818 cpfseq menupos3 ; ppO2 shown in Custom View 11?
1819 bra check_ppO2_b ; No 1819 bra check_ppO2_b ; No
1820 return ; Yes, do not show twice (in custom view and in warning area) 1820 return ; Yes, do not show twice (in custom view and in warning area)
1821 check_ppO2_b: 1821 check_ppO2_b:
1822 movlw .12
1823 cpfseq menupos3 ; ppO2 shown in Custom View 12?
1824 bra check_ppO2_c ; No
1825 return ; Yes, do not show twice (in custom view and in warning area)
1826 check_ppO2_c:
1822 incf warning_counter,F ; increase counter 1827 incf warning_counter,F ; increase counter
1823 goto TFT_display_ppo2 ; Show ppO2 (and return) 1828 goto TFT_display_ppo2 ; Show ppO2 (and return)
1824 1829
1825 global check_cns_violation 1830 global check_cns_violation
1826 check_cns_violation: 1831 check_cns_violation: