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