Skip to content

Commit

Permalink
Only display last interface found, in case of multiple icestorms
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbowman committed Oct 24, 2017
1 parent 22f66b5 commit a7341c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion j1a/icestorm/findserial
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
for D in /dev/ttyUSB?
do
udevadm info -a -n $D|grep 'ATTRS{idProduct}=="6010"'>/dev/null && echo $D
done
done | tail -1
true

0 comments on commit a7341c8

Please sign in to comment.