fix insertion of rmt end marker
This commit is contained in:
parent
1ab8f526b0
commit
31cb312c72
|
@ -113,7 +113,7 @@ static void IRAM_ATTR ws2812_isr(void *arg)
|
|||
RMTMEM.chan[channel].data32[chain->tx_offset].val = 0;
|
||||
} else {
|
||||
ws2812_fill_memory_encoded( channel, chain->data, chain->len, chain->tx_offset );
|
||||
RMTMEM.chan[channel].data32[chain->tx_offset + chain->len].val = 0;
|
||||
RMTMEM.chan[channel].data32[chain->tx_offset + chain->len*8].val = 0;
|
||||
chain->data += chain->len;
|
||||
chain->len = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue