This commit is contained in:
Leon Wilzer 2022-11-23 17:35:45 +01:00
parent a7d49dbd9c
commit f34c6acec4

@ -79,19 +79,19 @@ void spectrum()
case g:
if(++green_state>=LIGHT_MAX) { ++spectrum_state; }
break;
case bg:
case br:
if(--blue_state<=LIGHT_MIN) { ++spectrum_state; }
break;
case r:
if(++red_state>=LIGHT_MAX) { ++spectrum_state; }
break;
case gr:
case gb:
if(--green_state<=LIGHT_MIN) { ++spectrum_state; }
break;
case b:
if(++blue_state>=LIGHT_MAX) { ++spectrum_state; }
break;
case rb:
case rg:
if(--red_state<=LIGHT_MIN) { spectrum_state = 0; }
}
}