diff src/ghostwriter.asm @ 453:b4f28ab23b87

NEW: Show Uptime (Time since last firmware boot) in information menu
author heinrichsweikamp
date Mon, 19 Sep 2016 16:32:02 +0200
parents 23b58c4bc6aa
children 85b533b7a18c
line wrap: on
line diff
--- a/src/ghostwriter.asm	Thu Sep 01 13:28:15 2016 +0200
+++ b/src/ghostwriter.asm	Mon Sep 19 16:32:02 2016 +0200
@@ -1014,6 +1014,14 @@
 	addwfc	hi
 	rcall	do_logoffset_common_write	; lo:hi -> EEPROM
 change_logbook_offset2:
+	; Clear lastdive:4
+	banksel	lastdive_time+0
+	clrf	lastdive_time+0
+	clrf	lastdive_time+1
+	clrf	lastdive_time+2
+	clrf	lastdive_time+3
+	banksel	common
+
 	; Add more here...
 	return