};
pattern_t mode1_pattern[] = {
- { 4, 0x1 },
+ { 2, 0x1 },
{ 0, 0x1 },
- { 4, 0x1 },
+ { 2, 0x1 },
{ 0, 0x8 },
{ 1, 0x1 },
{ 0, 0x1 },
static inline pattern_t *pattern_select(unsigned char n)
{
- if (n < N_PWMLEDS && !pwmled_enabled(n))
- return off_pattern; // Don't mess with non-enabled LEDs
- else if (n < N_PWMLEDS)
+ if (n < N_PWMLEDS)
return mode1_pattern;
else if (n == 3)
return status_pattern_select(0);