spectrum
This commit is contained in:
parent
6f279e01d8
commit
7fd61af329
@ -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<LIGHT_MIN) {spectrum_state = 0;}
|
||||
break;
|
||||
default:
|
||||
spectrum_state = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user