#define micros() (micros() >> CORRECT_CLOCK) #define millis() (millis() >> CORRECT_CLOCK) void fixDelay(uint32_t ms) { delay(ms << CORRECT_CLOCK); }