We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 155e131 commit f51db66Copy full SHA for f51db66
cli/flash/esp/rom_client/rom_client.go
@@ -305,7 +305,7 @@ func (rc *ROMClient) trySync() error {
305
func (rc *ROMClient) sync() error {
306
var err error
307
// Usually there is no response to the first command, and the second is successful.
308
- for i := 0; i < 2; i++ {
+ for i := 0; i < 5; i++ {
309
err = rc.trySync()
310
if err == nil {
311
return nil
0 commit comments