clean up code

This commit is contained in:
Thomas Ballmann 2021-05-16 09:43:10 +02:00
parent 52dfe427bb
commit d91b3b1d11

View File

@ -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