Skip to content

Commit 5374e18

Browse files
committed
spaces
1 parent aebd0dd commit 5374e18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_lsm9ds0.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _read_bytes(self, sensor_type, address, count, buf):
374374
buf[0] = address & 0xFF
375375
i2c.write(buf, end=1)
376376
i2c.readinto(buf, end=count)
377-
#print("read from %02x: %s" % (address, [hex(i) for i in buf[:count]]))
377+
# print("read from %02x: %s" % (address, [hex(i) for i in buf[:count]]))
378378

379379
def _write_u8(self, sensor_type, address, val):
380380
if sensor_type == _GYROTYPE:
@@ -385,7 +385,7 @@ def _write_u8(self, sensor_type, address, val):
385385
self._BUFFER[0] = address & 0xFF
386386
self._BUFFER[1] = val & 0xFF
387387
i2c.write(self._BUFFER, end=2)
388-
#print("write to %02x: %02x" % (address, val))
388+
# print("write to %02x: %02x" % (address, val))
389389

390390

391391
class LSM9DS0_SPI(LSM9DS0):
@@ -413,7 +413,7 @@ def _read_bytes(self, sensor_type, address, count, buf):
413413
buf[0] = (address | 0x80 | 0x40) & 0xFF
414414
spi.write(buf, end=1)
415415
spi.readinto(buf, end=count)
416-
#print("read from %02x: %s" % (address, [hex(i) for i in buf[:count]]))
416+
# print("read from %02x: %s" % (address, [hex(i) for i in buf[:count]]))
417417

418418
def _write_u8(self, sensor_type, address, val):
419419
if sensor_type == _GYROTYPE:
@@ -424,4 +424,4 @@ def _write_u8(self, sensor_type, address, val):
424424
self._BUFFER[0] = (address & 0x7F) & 0xFF
425425
self._BUFFER[1] = val & 0xFF
426426
spi.write(self._BUFFER, end=2)
427-
#print("write to %02x: %02x" % (address, val))
427+
# print("write to %02x: %02x" % (address, val))

0 commit comments

Comments
 (0)