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