From 7e5c235b9da628ceea3a5bb3f9de400c23a8a0b7 Mon Sep 17 00:00:00 2001 From: Alexey Gerenkov Date: Thu, 14 Jun 2018 19:11:21 +0300 Subject: [PATCH] app_trace: Fix tmo initialization --- components/app_trace/include/esp_app_trace_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/app_trace/include/esp_app_trace_util.h b/components/app_trace/include/esp_app_trace_util.h index e689d4502c..6376008c2f 100644 --- a/components/app_trace/include/esp_app_trace_util.h +++ b/components/app_trace/include/esp_app_trace_util.h @@ -41,6 +41,7 @@ static inline void esp_apptrace_tmo_init(esp_apptrace_tmo_t *tmo, uint32_t user_ { tmo->start = portGET_RUN_TIME_COUNTER_VALUE(); tmo->tmo = user_tmo; + tmo->elapsed = 0; } /**