diff options
Diffstat (limited to 'lib8tion.h')
-rw-r--r-- | lib8tion.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |