diff options
author | Mark Kriegsman <kriegsman@tr.org> | 2014-12-09 16:33:46 +0300 |
---|---|---|
committer | Mark Kriegsman <kriegsman@tr.org> | 2014-12-09 16:33:46 +0300 |
commit | df69cb80b375b5bd4fef510b4da575b280ff0d04 (patch) | |
tree | 6226e33d7ef00ebc384023e28aabd2a8516fb91f | |
parent | f97e22c5915948d5bfd14a95f5bf804ac0e1ce77 (diff) |
Added EVERY_N_MILLISECONDS as a synonym for EVERY_N_MILLIS
-rw-r--r-- | lib8tion.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |