Skip to content

Commit

Permalink
target/espressif: lower algorithm default timeout to 3 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed May 22, 2024
1 parent 687287e commit 6f4d901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/target/espressif/esp_algorithm.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#include <target/target.h>
#include "esp_algorithm.h"

#define DEFAULT_ALGORITHM_TIMEOUT_MS 40000 /* ms */
/* 3 sec will be enough for the regular commands. Flash erase will take time but it has another timer value */
#define DEFAULT_ALGORITHM_TIMEOUT_MS 3000 /* ms */

static int esp_algorithm_read_stub_logs(struct target *target, struct esp_algorithm_stub *stub)
{
Expand Down

0 comments on commit 6f4d901

Please sign in to comment.