diff --git a/operame.ino b/operame.ino index 29d36ad..f9128b9 100644 --- a/operame.ino +++ b/operame.ino @@ -394,7 +394,7 @@ void setup() { if (ota_enabled) setup_ota(); } -#define every(t) for (static uint16_t _lasttime; (uint16_t)((uint16_t)millis() - _lasttime) >= (t); _lasttime = millis()) +#define every(t) for (static unsigned long _lasttime; (unsigned long)((unsigned long)millis() - _lasttime) >= (t); _lasttime = millis()) void loop() { static int co2;