Skip to content

Commit 2db7135

Browse files
committed
Fix threshold on CLICK register.
1 parent 5393504 commit 2db7135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsm303d/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def __init__(self, i2c_addr=0x1D, i2c_dev=None):
320320
BitField("y", 1 << 33),
321321
BitField("x", 1 << 32),
322322
# 0x3A
323-
BitField("threshod", 0xFF << 24),
323+
BitField("threshold", 0xFF << 24),
324324
# 0x3B
325325
BitField("time_limit", 0xFF << 16),
326326
# 0x3C

0 commit comments

Comments
 (0)