MCPcopy Create free account
hub / github.com/FastLED/FastLED / free_timer

Function free_timer

src/platforms/esp/32/isr_esp32_idf3.hpp:120–124  ·  view source on GitHub ↗

* Free a previously allocated timer */

Source from the content-addressed store, hash-verified

118 * Free a previously allocated timer
119 */
120static void free_timer(timer_group_t group, timer_idx_t idx) FL_NOEXCEPT {
121 portENTER_CRITICAL(&timer_alloc_mutex);
122 timer_allocated[group][idx] = false;
123 portEXIT_CRITICAL(&timer_alloc_mutex);
124}
125
126// =============================================================================
127// Timer ISR Wrapper

Callers 2

attach_timer_handlerFunction · 0.70
detach_handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected