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

◆ Alloc()

template<typename T>
static T * fl::PSRamAllocator< T >::Alloc ( size_t n)
inlinestatic

Definition at line 21 of file allocator.h.

21 {
22 void *ptr = PSRamAllocate(sizeof(T) * n, true);
23 return reinterpret_cast<T *>(ptr);
24 }
void * PSRamAllocate(size_t size, bool zero)
Definition allocator.cpp:41

References fl::PSRamAllocate().

Referenced by fl::LUT< uint16_t >::LUT(), fl::allocator_psram< U >::allocate(), and fl::RectangularDrawBuffer::onQueuingDone().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: