Skip to content

Commit 35ab566

Browse files
author
Me No Dev
committed
we actually need to reset more than try to read
1 parent b351e08 commit 35ab566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espcomm/espcomm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static int espcomm_sync(void)
239239
{
240240
LOGINFO("resetting board");
241241
espcomm_enter_boot();
242-
for (int retry_sync = 0; retry_sync < 10; ++retry_sync)
242+
for (int retry_sync = 0; retry_sync < 3; ++retry_sync)
243243
{
244244
LOGINFO("trying to connect");
245245
espcomm_delay_ms(100);

0 commit comments

Comments
 (0)