diff 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
line wrap: on
line diff
--- a/src/logbook.asm	Mon Aug 07 15:18:32 2017 +0200
+++ b/src/logbook.asm	Thu Aug 17 13:20:03 2017 +0200
@@ -1821,7 +1821,7 @@
     movlw       color_lightblue
     call	TFT_set_color
     WIN_FRAME_COLOR16   .63,.220,.2,.90; Top, Bottom, Left, Right
-
+    
     rcall       logbook_preloop_tasks       ; Clear some flags and set to Speed_eco
 display_details2_loop:
     btfsc		switch_left		; SET/MENU?
@@ -1833,9 +1833,13 @@
     bra			exit_profileview	; back to list
     bra			display_details2_loop   ; wait for something to do	
 
-logbook_page4: ; Show even more info
+logbook_page4: ; Show even more info in CC mode
+    LOG_POINT_TO    log_divemode 
+    call	    ext_flash_byte_read ; 0=OC, 1=CC, 2=Gauge, 3=Apnea into WREG and temp1 
+    decfsz	    temp1,w		; =1 (CC)? 
+    goto	    display_profile2	; no 
+
     rcall   log_details_header	; Shows number, time/date and basic dive info
-    
         ; Setpoint list
     LOG_POINT_TO    log_sp1
     WIN_SMALL   .5,.65