Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
Esp32Ledc.cxx
Go to the documentation of this file.
1
35// Ensure we only compile this code for the ESP32 family of MCUs.
36#if defined(ESP_PLATFORM)
37
38#include "Esp32Ledc.hxx"
39
40namespace openmrn_arduino
41{
42
43pthread_once_t Esp32Ledc::ledcFadeOnce_ = PTHREAD_ONCE_INIT;
44
45} // namespace openmrn_arduino
46
47#endif // ESP_PLATFORM
static pthread_once_t ledcFadeOnce_
Protects the initialization of LEDC Fade ISR hook.