Ivan Grokhotkov 6e7eb3c776 esp_timer: fix for the case when timer is deleted in callback
Timer callback can delete the timer. If CONFIG_ESP_TIMER_PROFILING was
enabled, this caused an access to invalid (freed) memory.
This fix adds a pointer to track the timer while executing the callback.
This is needed so that we can check if callback deletes the timer,
in which case we won't try updating profiling counters for this timer
after the callback is done.
2017-11-29 11:44:46 +08:00
..
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2017-02-22 14:40:36 +08:00