diff src/compass_ops.asm @ 620:cd986267a5ca

potential compass bug "fixed"
author heinrichsweikamp
date Fri, 22 Feb 2019 16:30:05 +0100
parents d866684249bd
children 1ad0531e9078
line wrap: on
line diff
--- a/src/compass_ops.asm	Wed Feb 06 13:43:02 2019 +0100
+++ b/src/compass_ops.asm	Fri Feb 22 16:30:05 2019 +0100
@@ -1396,6 +1396,9 @@
 	return
 
 compass_heading_common:
+       	btfss	compass_enabled					; Compass enabled?
+	return							; No, return
+
 	call	speed_normal
 	movlw	compass_averaging			; numbers of extra averaging
 	movwf	up