FastLED 3.9.15
Loading...
Searching...
No Matches

◆ ~ObjectFLED()

fl::ObjectFLED::~ObjectFLED ( )
inline

Definition at line 113 of file ObjectFLED.h.

113 {
114 // Wait for prior xmission to end, don't need to wait for latch time before deleting buffer
115 while (micros() - update_begin_micros < numbytes * 8 * TH_TL / OC_FACTOR / 1000 + 5);
116 delete frameBuffer;
117 }
static uint32_t numbytes
Definition ObjectFLED.h:157
uint32_t update_begin_micros
Definition ObjectFLED.h:166
uint16_t TH_TL
Definition ObjectFLED.h:179
static uint8_t * frameBuffer
Definition ObjectFLED.h:156

References frameBuffer, numbytes, OC_FACTOR, TH_TL, and update_begin_micros.