From 4cd9e03645da4c95a4cb6b6628bbb61e1b797e95 Mon Sep 17 00:00:00 2001 From: Aaron Christianson Date: Wed, 30 May 2018 16:14:12 +0200 Subject: [PATCH 1/2] forgot to update the README example to the proper method name in the previous commit. fixed. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3afdbfd7..2c81a02d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ void setup() { LEDRainbowEffect.brightness(150); LEDRainbowWaveEffect.brightness(150); - LEDRainbowWaveEffect.delay(50); + LEDRainbowWaveEffect.update_delay(50); } ``` From 7ad05d2d931ec600a34e86eb6ba2a15602fb2594 Mon Sep 17 00:00:00 2001 From: Aaron Christianson Date: Wed, 30 May 2018 17:25:30 +0200 Subject: [PATCH 2/2] fixed a show-stopping spelling error. updat_delay -> update_delay --- src/Kaleidoscope-LEDEffect-Rainbow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope-LEDEffect-Rainbow.cpp b/src/Kaleidoscope-LEDEffect-Rainbow.cpp index a8a4f21e..e60eb60e 100644 --- a/src/Kaleidoscope-LEDEffect-Rainbow.cpp +++ b/src/Kaleidoscope-LEDEffect-Rainbow.cpp @@ -56,7 +56,7 @@ void LEDRainbowWaveEffect::brightness(byte brightness) { rainbow_value = brightness; } -void LEDRainbowWaveEffect::updat_delay(byte delay) { +void LEDRainbowWaveEffect::update_delay(byte delay) { rainbow_update_delay = delay; } }