Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib8tion.h')
-rw-r--r--lib8tion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib8tion.h b/lib8tion.h
index 9d66624a..0dbbbff4 100644
--- a/lib8tion.h
+++ b/lib8tion.h
@@ -837,9 +837,9 @@ typedef q<uint16_t, 12,4> q124;
// that provides similar functionality.
// You can also force use of the get_millisecond_timer function
// by #defining USE_GET_MILLISECOND_TIMER.
-#if (defined(ARDUINO) || defined(SPARK)) && !defined(USE_GET_MILLISECOND_TIMER)
+#if (defined(ARDUINO) || defined(SPARK) || defined(FASTLED_HAS_MILLIS)) && !defined(USE_GET_MILLISECOND_TIMER)
// Forward declaration of Arduino function 'millis'.
-uint32_t millis();
+//uint32_t millis();
#define GET_MILLIS millis
#else
uint32_t get_millisecond_timer();