We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf21cf commit d97e028Copy full SHA for d97e028
nxt/htcompass.py
@@ -85,8 +85,8 @@ def get_relative_heading(self,target=0):
85
86
#this deserves a little explanation:
87
#if max > min, it's straightforward, but
88
- #if min < max, it switches the values of max and min
89
- #and returns true iff heading is NOT between the new max and min
+ #if min > max, it switches the values of max and min
+ #and returns true if heading is NOT between the new max and min
90
def is_in_range(self,min,max):
91
reversed = False
92
if min > max:
0 commit comments