Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lvgl_tft/ili9488.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ void ili9488_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * col
uint8_t *mybuf;
do {
mybuf = (uint8_t *) heap_caps_malloc(3 * size * sizeof(uint8_t), MALLOC_CAP_DMA);
if (mybuf == NULL) ESP_LOGW(TAG, "Could not allocate enough DMA memory!");
if (mybuf == NULL) {
ESP_LOGW(TAG, "Could not allocate enough DMA memory! (wait");
vTaskDelay(1000);
}
} while (mybuf == NULL);

uint32_t LD = 0;
Expand Down