]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - main.c
Always fade between colors
[rgblamp.git] / main.c
diff --git a/main.c b/main.c
index 840d83aab4542727f239d6614fca593239885f84..8f51cf26e926ab289e9713ddb08e74afa8226db5 100644 (file)
--- a/main.c
+++ b/main.c
@@ -163,7 +163,7 @@ int main(void)
 
               /* Next incolor and fade steps */
               incolor_steps = rand_incolor_steps(speed);
-              fade_steps = (buttons & IN_ROCKERA) ? 1 : rand_fade_steps(speed);
+              fade_steps = rand_fade_steps(speed);
 
               /* Compute increment and remainder for each led */
               red.increment = (newr - red.value) / fade_steps;