diff src/ghostwriter.asm @ 503:4542d03f748a

NEW: Last Dive customviews in surface mode with divetime, depth and interval
author heinrichsweikamp
date Sun, 11 Jun 2017 17:11:40 +0200
parents 8dfb93e80338
children 06e9370c6d75
line wrap: on
line diff
--- a/src/ghostwriter.asm	Fri Jun 09 14:47:02 2017 +0200
+++ b/src/ghostwriter.asm	Sun Jun 11 17:11:40 2017 +0200
@@ -1020,6 +1020,11 @@
 	clrf	lastdive_time+1
 	clrf	lastdive_time+2
 	clrf	lastdive_time+3
+	movff	divemins+0,lastdive_duration+0
+	movff	divemins+1,lastdive_duration+1
+	movff	divesecs,lastdive_duration+2
+	movff	max_pressure+0,lastdive_maxdepth+0
+	movff	max_pressure+1,lastdive_maxdepth+1
 	banksel	common
 
 	; Add more here...