mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Fixed serial port not parsing
This commit is contained in:
parent
3f7e9c8f82
commit
c4729670b6
1 changed files with 1 additions and 1 deletions
2
.vscode/setup.sh
vendored
2
.vscode/setup.sh
vendored
|
@ -40,7 +40,7 @@ function setup_serial_port {
|
|||
if [ -z "$SerialPort" ]; then
|
||||
pm3list=$($VSCODEPATH/../pm3 --list 2>/dev/null)
|
||||
#Use first port listed
|
||||
SerialPort=$(echo $pm3list | head -n 1 | cut -c 4-)
|
||||
export SerialPort=$(echo $pm3list | head -n 1 | cut -c 4-)
|
||||
if [ -z "$SerialPort" ]; then
|
||||
echo >&2 "[!!] No serial port found, please set SerialPort manually"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue