Skip to content

Commit c4f7cda

Browse files
committed
integrate bugfix from old repo
1 parent a66f6ba commit c4f7cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_lsm303dlh_mag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
# Magentometer rates
9595
MAGRATE_0_7 = const(0x00) # 0.75 Hz
9696
MAGRATE_1_5 = const(0x01) # 1.5 Hz
97-
MAGRATE_3_0 = const(0x62) # 3.0 Hz
97+
MAGRATE_3_0 = const(0x02) # 3.0 Hz
9898
MAGRATE_7_5 = const(0x03) # 7.5 Hz
9999
MAGRATE_15 = const(0x04) # 15 Hz
100100
MAGRATE_30 = const(0x05) # 30 Hz
101101
MAGRATE_75 = const(0x06) # 75 Hz
102-
MAGRATE_220 = const(0x07) # 200 Hz
102+
MAGRATE_220 = const(0x07) # 220 Hz
103103

104104
# Conversion constants
105105
_GRAVITY_STANDARD = 9.80665 # Earth's gravity in m/s^2

0 commit comments

Comments
 (0)