mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Revert to fixed delays
This commit is contained in:
parent
1765a087c3
commit
6ea6c8c297
@ -169,9 +169,10 @@ IRAM_ATTR void loop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ARDUINO_ARCH_ESP8266
|
#ifdef ARDUINO_ARCH_ESP8266
|
||||||
delay((lv_task_get_idle() >> 6) + 1); // 1..2 ms
|
delay(2); // ms
|
||||||
#else
|
#else
|
||||||
delay((lv_task_get_idle() >> 4) + 1); // 1..7 ms
|
delay(5); // ms
|
||||||
|
// delay((lv_task_get_idle() >> 5) + 3); // 2..5 ms
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user