ili9481: Fix TAG

This commit is contained in:
C47D 2021-10-13 22:53:00 -05:00
parent 5fbce2a3bf
commit 6a76078ba8
2 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@
/*********************
* DEFINES
*********************/
#define TAG "GC9A01"
#define TAG "GC9A01: "
/**********************
* TYPEDEFS
@ -126,7 +126,7 @@ void GC9A01_init(void)
vTaskDelay(100 / portTICK_RATE_MS);
#endif
ESP_LOGI(TAG, "Initialization.");
LV_LOG_INFO(TAG "Initialization.");
//Send all the commands
uint16_t cmd = 0;
@ -226,7 +226,7 @@ static void GC9A01_set_orientation(uint8_t orientation)
"PORTRAIT", "PORTRAIT_INVERTED", "LANDSCAPE", "LANDSCAPE_INVERTED"
};
ESP_LOGI(TAG, "Display orientation: %s", orientation_str[orientation]);
LV_LOG_INFO(TAG "Display orientation: %s", orientation_str[orientation]);
#if defined CONFIG_LV_PREDEFINED_DISPLAY_M5STACK
const uint8_t data[] = {0x68, 0x68, 0x08, 0x08};
@ -236,7 +236,7 @@ static void GC9A01_set_orientation(uint8_t orientation)
const uint8_t data[] = {0x08, 0xC8, 0x68, 0xA8};
#endif
ESP_LOGD(TAG, "0x36 command value: 0x%02X", data[orientation]);
LV_LOG_INFO(TAG "0x36 command value: 0x%02X", data[orientation]);
GC9A01_send_cmd(0x36);
GC9A01_send_data((void *) &data[orientation], 1);