Skip to content

Commit b619f73

Browse files
authored
Back to orig from espressif
1 parent d7f3c3e commit b619f73

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/update-components.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ if [ $? -ne 0 ]; then exit 1; fi
112112

113113
if [ ! -d "$AR_COMPS/arduino_tinyusb/tinyusb" ]; then
114114
git clone $TINYUSB_REPO_URL "$AR_COMPS/arduino_tinyusb/tinyusb"
115-
git -C "$AR_COMPS/arduino_tinyusb/tinyusb" checkout 832d22d7addf9b1e4b88556c544f60bd9fa32dd6
115+
else
116+
git -C "$AR_COMPS/arduino_tinyusb/tinyusb" fetch && \
117+
git -C "$AR_COMPS/arduino_tinyusb/tinyusb" pull --ff-only
116118
fi
117119
if [ $? -ne 0 ]; then exit 1; fi
118120

0 commit comments

Comments
 (0)