fix the fix
This commit is contained in:
parent
117ae69e27
commit
f26ff29eef
2
main.py
2
main.py
@ -206,7 +206,7 @@ if __name__ == "__main__":
|
||||
with serial.Serial(ser_dev, timeout=1) as s:
|
||||
arduino = s
|
||||
import threading
|
||||
t = threading.Thread(target=stream, args=[ser_dev])
|
||||
t = threading.Thread(target=stream, args=[s])
|
||||
|
||||
|
||||
# classifying as a daemon, so they will die when the main dies
|
||||
|
Loading…
Reference in New Issue
Block a user