use correct tty device for serial
This commit is contained in:
parent
3b495fcb0b
commit
5cd8bef921
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
if ls /dev/ttyUSB* 2> /dev/null; then
|
||||
sudo screen /dev/ttyUSB* 115200
|
||||
if ls /dev/serial/by-id/usb-FTDI_FT230X* 2> /dev/null; then
|
||||
sudo screen /dev/serial/by-id/usb-FTDI_FT230X* 115200
|
||||
fi
|
||||
sleep 0.005
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue