fixed typo

This commit is contained in:
Jake Hillion 2020-04-28 14:03:17 +01:00
parent 8880502576
commit af3cdf78f1

View File

@ -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)