diff src/divemode.asm @ 38:64976f1e0a1c

Show total divetime in apnea mode
author mh@mh-THINK.fritz.box
date Thu, 15 Aug 2013 13:30:05 +0200
parents eca4a201d8cf
children e4e91fe8b09d
line wrap: on
line diff
--- a/src/divemode.asm	Thu Aug 15 12:39:05 2013 +0200
+++ b/src/divemode.asm	Thu Aug 15 13:30:05 2013 +0200
@@ -140,10 +140,6 @@
 ;--------------------------------------------------------------------------------------------------------
 
 
-
-
-
-
 divemode_apnoe_tasks:                       ; 1 sec. Apnoe tasks
 	call	TFT_display_apnoe_descent		; Show descent timer
 	call	TFT_max_pressure				; use normal max. depth
@@ -1086,7 +1082,8 @@
 	clrf	apnoe_surface_mins			
 	clrf	apnoe_surface_secs		
 	clrf	apnoe_mins
-	clrf	apnoe_secs
+    movlw   .2
+    movwf	apnoe_secs
 	clrf	divemins+0
 	clrf	divemins+1
     bcf     no_more_divesecs                ; =1: Do no longer show seconds in divemode