Skip to content

Commit

Permalink
Update Covid_ventilator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mascobot authored Apr 5, 2020
1 parent 5c8f38d commit 35cf4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/desktop/Covid_ventilator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_port():
ports = serial.tools.list_ports.comports()
for i in ports:
i = str(i)
if 'AMA' in i:
if 'ACM' in i:
return (i.split()[0])

def open_serial():
Expand Down

0 comments on commit 35cf4e5

Please sign in to comment.