Skip to content

Commit d97e028

Browse files
author
marcusw
committed
Fixed some typos in the comments of the new module. Thanks rhn!
1 parent fcf21cf commit d97e028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nxt/htcompass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def get_relative_heading(self,target=0):
8585

8686
#this deserves a little explanation:
8787
#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
88+
#if min > max, it switches the values of max and min
89+
#and returns true if heading is NOT between the new max and min
9090
def is_in_range(self,min,max):
9191
reversed = False
9292
if min > max:

0 commit comments

Comments
 (0)