Skip to content

Commit 0f50b54

Browse files
committed
Check out contemporary version of TinyUSB component.
1 parent a06e2e9 commit 0f50b54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/update-components.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git"
1010
TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
1111
if [ ! -d "$TINYUSB_REPO_DIR" ]; then
1212
git clone "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
13-
else
14-
git -C "$TINYUSB_REPO_DIR" fetch && \
15-
git -C "$TINYUSB_REPO_DIR" pull --ff-only
1613
fi
1714
if [ $? -ne 0 ]; then exit 1; fi
15+
16+
cd "$TINYUSB_REPO_DIR"
17+
git checkout 9ca4bc89a7e285796e8102eb7a8fd1bbc6fb9938
18+
cd -

0 commit comments

Comments
 (0)