From e9d6b8cda0ce73bdc2976d5ec457bf87bfee8fb7 Mon Sep 17 00:00:00 2001 From: SciLor Date: Thu, 1 Dec 2016 13:18:02 +0100 Subject: [PATCH] Fix for missing interval factor s/ms --- HyperionRGB/HyperionRGB.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HyperionRGB/HyperionRGB.ino b/HyperionRGB/HyperionRGB.ino index e4bdecc..5a72d2d 100644 --- a/HyperionRGB/HyperionRGB.ino +++ b/HyperionRGB/HyperionRGB.ino @@ -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)