Skip to content

Commit 9779fcf

Browse files
committed
delete spaces on empty lines
1 parent 08b14b3 commit 9779fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simpleio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ def shift_out(data_pin, clock, value, msb_first=True, bitcount=8):
180180
"""
181181
if bitcount < 0 or bitcount > 32:
182182
raise ValueError('bitcount must be in range 0..32 inclusive')
183-
183+
184184
if msb_first:
185185
bitsequence = lambda: range(bitcount-1, -1, -1)
186186
else:
187187
bitsequence = lambda: range(0, bitcount)
188-
188+
189189
for i in bitsequence():
190190
tmpval = bool(value & (1<<i))
191191
data_pin.value = tmpval

0 commit comments

Comments
 (0)