From d91b3b1d11d10ed26bcd539854c71676514dfd66 Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Sun, 16 May 2021 09:43:10 +0200 Subject: [PATCH] clean up code --- include/tools.h | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 include/tools.h diff --git a/include/tools.h b/include/tools.h deleted file mode 100644 index 07bc4ab..0000000 --- a/include/tools.h +++ /dev/null @@ -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 \ No newline at end of file