diff src/surfmode.asm @ 133:939f1e83c4c2

BUGFIX: Surface interval was not displayed correctly in some cases NEW: Store tissue load, date and time, surface interval, desat. time and nofly time every hour and reload them after battery change
author heinrichsweikamp
date Mon, 14 Jul 2014 15:17:07 +0200
parents f3062a611eef
children e3ac5b2021bc
line wrap: on
line diff
--- a/src/surfmode.asm	Tue Jul 08 11:39:00 2014 +0200
+++ b/src/surfmode.asm	Mon Jul 14 15:17:07 2014 +0200
@@ -304,7 +304,7 @@
 
 surfmode_check_for_interval:
 	movf    	surface_interval+0,W            ; Is interval null ?
-    iorwf   	surface_interval+0,W
+    iorwf   	surface_interval+1,W
     bnz     	surfmode_check_for_interval2	; No
     return
 surfmode_check_for_interval2: