forked from bbulkow/FastLED-idf
Function is used only when the esp-idf driver is used, thus unclear if it matters yet
wq
This commit is contained in:
1 parent
38d97dbca3
commit
171dc8cc8e
1 file changed
+1
-1
@@ -366,7 +366,7 @@ void ESP32RMTController::initPulseBuffer(int size_in_bytes)
|
||||
{
|
||||
if (mBuffer == 0) {
|
||||
// -- Each byte has 8 bits, each bit needs a 32-bit RMT item
|
||||
int size = size_in_bytes * 8 * 4;
|
||||
mBufferSize = size_in_bytes * 8 * 4;
|
||||
|
||||
mBuffer = (rmt_item32_t *) calloc( mBufferSize, sizeof(rmt_item32_t));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user