Merge branch 'master' of https://github.com/cnlohr/colorchord
This commit is contained in:
commit
a02d56e20d
11 changed files with 243 additions and 24 deletions
|
@ -249,7 +249,7 @@ static unsigned int i2sBlock[WS_BLOCKSIZE/4];
|
|||
//DMA underrun counter
|
||||
|
||||
|
||||
#ifdef USE_2812_INTERRUPTS
|
||||
#if USE_2812_INTERRUPTS
|
||||
|
||||
volatile uint8_t ws2812_dma_complete;
|
||||
|
||||
|
@ -496,7 +496,7 @@ void ws2812_push( uint8_t * buffer, uint16_t buffersize )
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_2812_INTERRUPTS
|
||||
#if USE_2812_INTERRUPTS
|
||||
|
||||
uint16_t leftover = buffersize & 0x1f;
|
||||
if( leftover ) leftover = 32 - leftover;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue