From f2a1b61c8c58ba290e073f53f3a0f461da9ce011 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Sun, 16 Dec 2012 17:31:18 +0100 Subject: [PATCH] control.c: on_patterns should not last forever --- firmware/control.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/firmware/control.c b/firmware/control.c index eb35aca..5796835 100644 --- a/firmware/control.c +++ b/firmware/control.c @@ -30,15 +30,18 @@ static pattern_t panic_pattern[] = { }; pattern_t on1_pattern [] = { - { 1, PATTERN_FOREVER } + { 1, 0x10 }, + PATTERN_END }; static pattern_t on2_pattern [] = { - { 2, PATTERN_FOREVER } + { 2, 0x10 }, + PATTERN_END }; static pattern_t on3_pattern [] = { - { 3, PATTERN_FOREVER } + { 3, 0x10 }, + PATTERN_END }; static pattern_t normal2_pattern[] = { -- 2.39.3