Skip to content
This repository was archived by the owner on Nov 29, 2021. It is now read-only.

Commit d73dfb8

Browse files
author
Will Smith
committed
modified find_usb_bus_id.bash so that it would find new version of uart controller (ignores number and only looks for type of controller
1 parent 03c8ab7 commit d73dfb8

5 files changed

+1
-3
lines changed

.find_usb_bus_id.bash.swo

-12 KB
Binary file not shown.
Binary file not shown.

find_usb_bus_id.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ declare -gr SC_TOP="${SC_SCRIPT%/*}"
88
declare -gr WR_PATH="/tmp"
99

1010

11-
USB_BUS_NUM="$(readlink /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_*| awk '{print substr($0,7,7)}' )"
11+
USB_BUS_NUM="$(readlink /dev/serial/by-id/usb-Silicon_Labs_CP2*_USB_to_UART_Bridge_Controller_*| awk '{print substr($0,7,7)}' )"
1212

1313
echo ${USB_BUS_NUM}
1414

File renamed without changes.

usb_bus_id

-2
This file was deleted.

0 commit comments

Comments
 (0)