fix the fix
This commit is contained in:
1 parent
117ae69e27
commit
f26ff29eef
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user