Skip to content
Permalink
Browse files

Keep delay() in cache

  • Loading branch information...
matgoebl committed Oct 6, 2019
1 parent 2bb6adb commit f4a1f83f0666984f6f13a49228a72f0e4326ca3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 ESPVGAX.cpp
@@ -149,7 +149,7 @@ void ESPVGAX::end() {
#endif
interrupts();
}
void ESPVGAX::delay(uint32_t msec) {
void ICACHE_RAM_ATTR ESPVGAX::delay(uint32_t msec) {
// predict the CPU ticks to be awaited
uint32_t us=msec*1000;
uint32_t start=TICKS;

0 comments on commit f4a1f83

Please sign in to comment.
You can’t perform that action at this time.