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:
authorMark Kriegsman <kriegsman@tr.org>2014-12-09 16:33:46 +0300
committerMark Kriegsman <kriegsman@tr.org>2014-12-09 16:33:46 +0300
commitdf69cb80b375b5bd4fef510b4da575b280ff0d04 (patch)
tree6226e33d7ef00ebc384023e28aabd2a8516fb91f
parentf97e22c5915948d5bfd14a95f5bf804ac0e1ce77 (diff)
Added EVERY_N_MILLISECONDS as a synonym for EVERY_N_MILLIS
-rw-r--r--lib8tion.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib8tion.h b/lib8tion.h
index bef1cb70..b6e03ed6 100644
--- a/lib8tion.h
+++ b/lib8tion.h
@@ -2057,5 +2057,7 @@ typedef CEveryNTimePeriods<uint8_t,hours8> CEveryNHours;
#define EVERY_N_HOURS(N) EVERY_N_HOURS_I(CONCAT_MACRO(PER, __COUNTER__ ),N)
#define EVERY_N_HOURS_I(NAME,N) static CEveryNHours NAME(N); if( NAME )
+#define CEveryNMilliseconds CEveryNMillis
+#define EVERY_N_MILLISECONDS(N) EVERY_N_MILLIS(N)
#endif