Skip to content

Commit

Permalink
use correct tty device for serial
Browse files Browse the repository at this point in the history
  • Loading branch information
robbederks authored and spektor56 committed Jun 29, 2022
1 parent 3bdf4ed commit 9cf6c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/serial/connect.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9cf6c8d

Please sign in to comment.