Mercurial > public > hwos_code
comparison src/logbook.asm @ 530:d36f9fca10ae
2.20beta release
BUGFIX: Minor dive mode layout fixes in CCR Mode
CHANGE: Minor German language fixes
NEW: Warning for Diluent beeing out of safe ppO2 range in CCR modes
NEW: New Customview 9 in OSTC cR or OSTC3 shows mV readings after Sensor calibration
author | heinrichsweikamp |
---|---|
date | Thu, 17 Aug 2017 13:20:03 +0200 |
parents | 0910c227018f |
children | 7c408bfaf2e8 |
comparison
equal
deleted
inserted
replaced
529:08d7eb26665c | 530:d36f9fca10ae |
---|---|
1819 rcall log_show_gas_common2 | 1819 rcall log_show_gas_common2 |
1820 | 1820 |
1821 movlw color_lightblue | 1821 movlw color_lightblue |
1822 call TFT_set_color | 1822 call TFT_set_color |
1823 WIN_FRAME_COLOR16 .63,.220,.2,.90; Top, Bottom, Left, Right | 1823 WIN_FRAME_COLOR16 .63,.220,.2,.90; Top, Bottom, Left, Right |
1824 | 1824 |
1825 rcall logbook_preloop_tasks ; Clear some flags and set to Speed_eco | 1825 rcall logbook_preloop_tasks ; Clear some flags and set to Speed_eco |
1826 display_details2_loop: | 1826 display_details2_loop: |
1827 btfsc switch_left ; SET/MENU? | 1827 btfsc switch_left ; SET/MENU? |
1828 goto logbook_page4 ; Show more info | 1828 goto logbook_page4 ; Show more info |
1829 btfsc switch_right ; ENTER? | 1829 btfsc switch_right ; ENTER? |
1831 rcall log_screendump_and_onesecond ; Check if we need to make a screenshot and check for new second | 1831 rcall log_screendump_and_onesecond ; Check if we need to make a screenshot and check for new second |
1832 btfsc sleepmode ; Timeout? | 1832 btfsc sleepmode ; Timeout? |
1833 bra exit_profileview ; back to list | 1833 bra exit_profileview ; back to list |
1834 bra display_details2_loop ; wait for something to do | 1834 bra display_details2_loop ; wait for something to do |
1835 | 1835 |
1836 logbook_page4: ; Show even more info | 1836 logbook_page4: ; Show even more info in CC mode |
1837 LOG_POINT_TO log_divemode | |
1838 call ext_flash_byte_read ; 0=OC, 1=CC, 2=Gauge, 3=Apnea into WREG and temp1 | |
1839 decfsz temp1,w ; =1 (CC)? | |
1840 goto display_profile2 ; no | |
1841 | |
1837 rcall log_details_header ; Shows number, time/date and basic dive info | 1842 rcall log_details_header ; Shows number, time/date and basic dive info |
1838 | |
1839 ; Setpoint list | 1843 ; Setpoint list |
1840 LOG_POINT_TO log_sp1 | 1844 LOG_POINT_TO log_sp1 |
1841 WIN_SMALL .5,.65 | 1845 WIN_SMALL .5,.65 |
1842 WIN_COLOR color_greenish | 1846 WIN_COLOR color_greenish |
1843 STRCPY_TEXT_PRINT tFixedSetpoints | 1847 STRCPY_TEXT_PRINT tFixedSetpoints |