Skip to content

Commit 55cbf04

Browse files
committed
fix copypasta
1 parent b3a7966 commit 55cbf04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_lsm9ds0.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ class LSM9DS0_SPI(LSM9DS0):
397397
"""Driver for the LSM9DS0 connected over SPI."""
398398
# pylint: disable=no-member
399399
def __init__(self, spi, xmcs, gcs):
400-
self._mag_device = spi_device.SPIDevice(spi, mcs, baudrate=200000, phase=1, polarity=1)
401-
self._xg_device = spi_device.SPIDevice(spi, xgcs, baudrate=200000, phase=1, polarity=1)
400+
self._mag_device = spi_device.SPIDevice(spi, xmcs, baudrate=200000, phase=1, polarity=1)
401+
self._xg_device = spi_device.SPIDevice(spi, gcs, baudrate=200000, phase=1, polarity=1)
402402
super().__init__()
403403

404404
def _read_u8(self, sensor_type, address):

0 commit comments

Comments
 (0)