From 6e520930d8d0b0ed0085671ea844c1cc419812b0 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Wed, 29 Aug 2012 16:23:45 +0200 Subject: [PATCH] patterns modified --- pattern.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/pattern.c b/pattern.c index efe2ea4..8552240 100644 --- a/pattern.c +++ b/pattern.c @@ -12,7 +12,7 @@ static pattern_t *led_patterns[N_LEDS]; #define PATTERN_END { 0, 0 } pattern_t off_pattern[] = { - { 0, 5 }, + { 0, 0x1F }, PATTERN_END }; @@ -22,6 +22,11 @@ pattern_t blink_pattern[] = { PATTERN_END }; +pattern_t mode1_pattern[] = { + { 1, 0x1F }, + PATTERN_END +}; + pattern_t boot_pattern[] = { { 1, 0x6 }, { 0, 0x6 }, @@ -43,23 +48,25 @@ pattern_t boot_pattern[] = { }; pattern_t pattern_num[] = { - { 1, 0x1 }, + { 1, 0x1 }, /* 10 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 9 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 8 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 7 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 6 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 5 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 4 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 3 */ { 0, 0x4 }, - { 1, 0x1 }, + { 1, 0x1 }, /* 2 */ + { 0, 0x4 }, + { 1, 0x1 }, /* 1 */ { 0, 0x1F }, PATTERN_END }; -- 2.39.3