mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
app_trace: Fix tmo initialization
This commit is contained in:
committed by
Ivan Grokhotkov
parent
669c5ac538
commit
7e5c235b9d
@@ -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->start = portGET_RUN_TIME_COUNTER_VALUE();
|
||||||
tmo->tmo = user_tmo;
|
tmo->tmo = user_tmo;
|
||||||
|
tmo->elapsed = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user