Skip to content

Commit f0c3abe

Browse files
committed
chore(maple_upload): remove useless part
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent e3a27c0 commit f0c3abe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

maple_upload.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ fi
5252

5353
COUNTER=5
5454
while
55-
if [ $# -eq 5 ]; then
56-
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" "--dfuse-address $5" -R
57-
else
58-
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" -R
59-
fi
55+
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" -R
6056
ret=$?
6157
do
6258
if [ $ret -eq 0 ]; then

0 commit comments

Comments
 (0)