Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Fix for missing interval factor s/ms
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Dec 1, 2016
1 parent c1e50e5 commit e9d6b8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions HyperionRGB/HyperionRGB.ino
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ void changeMode(Mode newMode, double interval = 0.0d) {
break;
case RAINBOW:
if (interval == 0.0d)
interval = 500;
animationThread.setInterval(interval);
interval = 0.5d;
animationThread.setInterval(interval / 1000);
break;
case FIRE2012:
if (interval == 0.0d)
interval = 16;
animationThread.setInterval(interval);
interval = 0.016d;
animationThread.setInterval(interval / 1000);
break;
case HYPERION_UDP:
if (!autoswitch)
Expand Down

0 comments on commit e9d6b8c

Please sign in to comment.