diff src/divemode.asm @ 389:9175429bdeba

CHANGE: Logbook now shows end-of-dive date and time for dives made with firmware <1.92 indicated by an icon in the logbook CHANGE: Logbook shows start-of-dive date and time for dives made with firmware >=1.92 BUGFIX: Text alignment in logbook
author heinrichsweikamp
date Tue, 27 Oct 2015 13:45:10 +0100
parents 3c55627d5f8f
children 1f2e35f5a5aa
line wrap: on
line diff
--- a/src/divemode.asm	Mon Oct 19 15:06:59 2015 +0200
+++ b/src/divemode.asm	Tue Oct 27 13:45:10 2015 +0100
@@ -1450,6 +1450,14 @@
 	clrf	apnoe_mins
 	clrf	divemins+0
 	clrf	divemins+1
+    
+; Copy date and time for logbook
+    movff   year,start_year
+    movff   month,start_month
+    movff   day,start_day
+    movff   hours,start_hours
+    movff   mins,start_mins
+
     bcf     no_more_divesecs            ; =1: Do no longer show seconds in divemode
 	bcf		divemode_menu_active
     clrf    menupos