Skip to content

Commit 57e8f65

Browse files
committed
pylint
1 parent 8f776b1 commit 57e8f65

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_fxos8700.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ def read_raw_accel_mag(self):
164164
with self._device as i2c:
165165
self._BUFFER[0] = _FXOS8700_REGISTER_OUT_X_MSB
166166
i2c.write_then_readinto(self._BUFFER, self._BUFFER,
167-
out_end=1, in_end=6,
168-
stop=False)
167+
out_end=1, in_end=6,
168+
stop=False)
169169
accel_raw_x = struct.unpack_from('>H', self._BUFFER[0:2])[0]
170170
accel_raw_y = struct.unpack_from('>H', self._BUFFER[2:4])[0]
171171
accel_raw_z = struct.unpack_from('>H', self._BUFFER[4:6])[0]
@@ -179,8 +179,8 @@ def read_raw_accel_mag(self):
179179
with self._device as i2c:
180180
self._BUFFER[0] = _FXOS8700_REGISTER_MOUT_X_MSB
181181
i2c.write_then_readinto(self._BUFFER, self._BUFFER,
182-
out_end=1, in_end=6,
183-
stop=False)
182+
out_end=1, in_end=6,
183+
stop=False)
184184
mag_raw_x = struct.unpack_from('>h', self._BUFFER[0:2])[0]
185185
mag_raw_y = struct.unpack_from('>h', self._BUFFER[2:4])[0]
186186
mag_raw_z = struct.unpack_from('>h', self._BUFFER[4:6])[0]

0 commit comments

Comments
 (0)