mirror of https://github.com/arendst/Tasmota.git
Add background timeslot to clear heap
Add background timeslot to clear heap
This commit is contained in:
parent
9268976ff1
commit
912e8b62e7
|
@ -173,6 +173,7 @@ void Ili9341PrintLog(void)
|
|||
tft->print(disp_screen_buffer[i]);
|
||||
tft_scroll += theight;
|
||||
tft->setCursor(0, tft_scroll);
|
||||
delay(1); // Fix background runs heap usage due to long runtime of this loop (up to 1 second)
|
||||
}
|
||||
strlcpy(disp_screen_buffer[last_row], txt, disp_screen_buffer_cols);
|
||||
DisplayFillScreen(last_row);
|
||||
|
|
Loading…
Reference in New Issue