Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit e9a1022

Browse files
committed
Convert tabs to spaces.
1 parent b585c66 commit e9a1022

File tree

8 files changed

+332
-332
lines changed

8 files changed

+332
-332
lines changed

Adafruit_MotorHAT/Adafruit_I2C.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def readU16(self, reg, little_endian=True):
134134
"Reads an unsigned 16-bit value from the I2C device"
135135
try:
136136
result = self.bus.read_word_data(self.address,reg)
137-
# Swap bytes if using big endian because read_word_data assumes little
137+
# Swap bytes if using big endian because read_word_data assumes little
138138
# endian on ARM (little endian) systems.
139139
if not little_endian:
140140
result = ((result << 8) & 0xFF00) + (result >> 8)

0 commit comments

Comments
 (0)