mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-04 12:00:27 +00:00
clean up code
This commit is contained in:
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…
Reference in New Issue
Block a user