Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/omega2-ws2811-lkm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ws2811.c')
-rw-r--r--src/ws2811.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ws2811.c b/src/ws2811.c
index 2dd8629..4c18547 100644
--- a/src/ws2811.c
+++ b/src/ws2811.c
@@ -46,7 +46,7 @@ MODULE_VERSION("2.0");
#define REG_WRITE(addr, value) iowrite32(value, gpio_regs + addr)
#define REG_READ(addr) ioread32(gpio_regs + addr)
-static u8 pins[8] = {-1, -1, -1, -1, -1, -1, -1, -1};
+static u8 pins[32] = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
static int pin_count = 0;
static u16 led_count = 50;
static u8* leds_data = NULL;