From 83875cc6bd6f691bce0a2d15b909ab6329624ee2 Mon Sep 17 00:00:00 2001 From: C47D Date: Wed, 13 Oct 2021 23:21:19 -0500 Subject: [PATCH] hx8357: Replace ESP_LOG with LVGL logging --- lvgl_tft/hx8357.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lvgl_tft/hx8357.c b/lvgl_tft/hx8357.c index bb9ea58..41209f6 100644 --- a/lvgl_tft/hx8357.c +++ b/lvgl_tft/hx8357.c @@ -18,14 +18,13 @@ #include "hx8357.h" #include "disp_spi.h" #include "driver/gpio.h" -#include #include "freertos/FreeRTOS.h" #include "freertos/task.h" /********************* * DEFINES *********************/ -#define TAG "HX8357" +#define TAG "HX8357: " #define MADCTL_MY 0x80 ///< Bottom to top #define MADCTL_MX 0x40 ///< Right to left @@ -174,7 +173,7 @@ void hx8357_init(void) vTaskDelay(120 / portTICK_RATE_MS); #endif - ESP_LOGI(TAG, "Initialization."); + LV_LOG_INFO(TAG, "Initialization."); //Send all the commands const uint8_t *addr = (displayType == HX8357B) ? initb : initd;