fixed typo
This commit is contained in:
parent
8880502576
commit
af3cdf78f1
@ -41,7 +41,7 @@ def serial_func():
|
||||
while True:
|
||||
with globals()['lock']:
|
||||
if globals()['data'] != '':
|
||||
serial.write(bytes(globals()['data'], 'ascii'))
|
||||
ser.write(bytes(globals()['data'], 'ascii'))
|
||||
globals()['data'] = ''
|
||||
time.sleep(0.1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user