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

Function fl_parlio_alloc

examples/AutoResearch/AutoResearchParlioEncode.h:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163inline fl::u8 *fl_parlio_alloc(fl::size_t size, bool psram) {
164 return reinterpret_cast<fl::u8 *>(heap_caps_malloc(
165 size,
166 psram ? (MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT)
167 : (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)));
168}
169
170} // anonymous namespace
171

Callers 1

measureParlioEncodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected