Circular DMA buffer

This commit is contained in:
Attila Body 2020-12-01 21:54:43 +01:00
parent 731bba0f0e
commit 3f48d95efd
9 changed files with 72 additions and 79 deletions

View file

@ -6,13 +6,6 @@
*/
#include "LedBuffers.h"
pixel_t g_pixels[NUMPIXELS] = {
{0xaa,0x55,0},
{0x55,0xaa,0xff},
{0xaa,0x55,0},
{0x55,0xaa,0xff},
{0xaa,0x55,0},
{0x55,0xaa,0xff},
};
pixel_t g_pixels[NUMPIXELS];
uint8_t g_spibuffer[2][SPIBUFFER_SIZE];