Skip to content

Commit 2ee39b9

Browse files
authored
Typo in shutdown commands (#128)
1 parent e0ddce3 commit 2ee39b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildhat/serinterface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def shutdown(self):
191191
for p in range(4):
192192
conn = self.connections[p]
193193
if conn.typeid != 64:
194-
turnoff += "port {} ; pwm ; coast ; off ".format(p)
194+
turnoff += "port {} ; pwm ; coast ; off ;".format(p)
195195
else:
196196
self.write("port {} ; write1 {}\r".format(p, ' '.join('{:x}'.format(h) for h in [0xc2,0,0,0,0,0,0,0,0,0])).encode())
197197
self.write("{}\r".format(turnoff).encode())

0 commit comments

Comments
 (0)