diff src/menu_tree.asm @ 148:022b886eddaf

some cleanup
author heinrichsweikamp
date Wed, 06 Aug 2014 17:38:31 +0200
parents e3ac5b2021bc
children afa31c815f24
line wrap: on
line diff
--- a/src/menu_tree.asm	Wed Aug 06 11:59:04 2014 +0200
+++ b/src/menu_tree.asm	Wed Aug 06 17:38:31 2014 +0200
@@ -493,10 +493,8 @@
 
 do_logoffset_plus1:
 	call	do_logoffset_common_read			; Read into lo:hi
-	movlw	d'1'
-	addwf	lo
-	movlw	d'0'
-	addwfc	hi
+    infsnz  lo,F
+    incf    hi,F
 	goto	do_logoffset_common_write			; Store and return
 
 do_logoffset_plus10: