ili9481: Replace ESP_LOG with LVGL logging

This commit is contained in:
C47D 2021-10-13 22:43:57 -05:00
parent 4b01564076
commit 364349dbf8

View file

@ -115,7 +115,7 @@ void ili9481_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) LV_LOG_WARN("TAG" ": Could not allocate enough DMA memory!");
} while (mybuf == NULL);
uint32_t LD = 0;