clean up code

master
Thomas Ballmann 3 years ago
parent 52dfe427bb
commit d91b3b1d11

@ -1,8 +0,0 @@
#ifndef TOOLS_H
#define TOOLS_H
#define EVERY_N_SECONDS(t) for (static uint16_t _lasttime; \
(uint16_t)((uint16_t)millis() - _lasttime) >= (t * 1000); \
_lasttime += (t * 1000))
#endif
Loading…
Cancel
Save