|
FastLED 3.9.15
|
| bool fl::AsyncLogger::enableBackgroundFlush | ( | fl::u32 | interval_ms, |
| fl::size | messages_per_tick = 5 ) |
Enable background timer-based flushing (opt-in)
| interval_ms | Flush interval in milliseconds (e.g., 100 = 10 Hz) |
| messages_per_tick | Maximum messages to flush per timer tick (default 5) |
Definition at line 156 of file async_logger.cpp.hpp.
References fl::detail::async_log_flush_timer_isr(), fl::isr::attach_timer_handler(), disableBackgroundFlush(), fl::isr::config::flags, fl::isr::config::frequency_hz, fl::isr::config::handler, fl::Singleton< T, N >::instance(), fl::isr::ISR_FLAG_IRAM_SAFE, fl::isr::ISR_PRIORITY_LOW, fl::isr::config::priority, state, and fl::isr::config::user_data.
Referenced by ~AsyncLogger().
Here is the call graph for this function:
Here is the caller graph for this function: