Skip to content

Commit e308b1e

Browse files
authored
temp Tinyusb compile fix
1 parent f92b314 commit e308b1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/update-components.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
1111
echo "Updating TinyUSB..."
1212
if [ ! -d "$TINYUSB_REPO_DIR" ]; then
1313
git clone -b master --depth 1 "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
14+
cd "$TINYUSB_REPO_DIR"
15+
git checkout a4fb8354e41b2604f66e7da22afa292b1a44f0a2
16+
cd -
1417
else
1518
cd $TINYUSB_REPO_DIR
1619
git pull
1720
# -ff is for cleaning untracked files as well as submodules
1821
git clean -ffdx
19-
cd -
22+
git checkout a4fb8354e41b2604f66e7da22afa292b1a44f0a2
2023
fi
2124
if [ $? -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)