From 7fd61af329867d9c1f21d948e87c77cd0dfb7168 Mon Sep 17 00:00:00 2001 From: Leon Wilzer Date: Wed, 23 Nov 2022 18:13:08 +0100 Subject: [PATCH] spectrum --- Demo_C/Demo/LED/LED.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo_C/Demo/LED/LED.c b/Demo_C/Demo/LED/LED.c index d33f912..56fb958 100644 --- a/Demo_C/Demo/LED/LED.c +++ b/Demo_C/Demo/LED/LED.c @@ -45,10 +45,9 @@ void PrgInit states[0] = &red_state; states[1] = &green_state; states[2] = &blue_state; - spectrum_state = pr; + spectrum_state = 0; pin = RED; lamp_idx = BEG_LAMP_IDX; - n_loops = 10; } int PrgTic @@ -94,6 +93,7 @@ void spectrum() break; case mg: if(--green_state