Remove TAG from LVGL log API

The filename is appended at the beginning of the log output by default, we don't need to do it.
This commit is contained in:
C47D 2021-10-22 18:41:47 -05:00
parent 9c886307b2
commit a0e915eebc
17 changed files with 58 additions and 82 deletions

View file

@ -15,7 +15,6 @@
/*********************
* DEFINES
*********************/
#define TAG "ST7796S: "
/**********************
* TYPEDEFS
@ -95,7 +94,7 @@ void st7796s_init(void)
vTaskDelay(100 / portTICK_RATE_MS);
#endif
LV_LOG_INFO(TAG, "Initialization.");
LV_LOG_INFO("Initialization.");
//Send all the commands
uint16_t cmd = 0;
@ -193,7 +192,7 @@ static void st7796s_set_orientation(uint8_t orientation)
const char *orientation_str[] = {
"PORTRAIT", "PORTRAIT_INVERTED", "LANDSCAPE", "LANDSCAPE_INVERTED"};
LV_LOG_INFO(TAG, "Display orientation: %s", orientation_str[orientation]);
LV_LOG_INFO("Display orientation: %s", orientation_str[orientation]);
#if defined CONFIG_LV_PREDEFINED_DISPLAY_M5STACK
const uint8_t data[] = {0x68, 0x68, 0x08, 0x08};
@ -205,7 +204,7 @@ static void st7796s_set_orientation(uint8_t orientation)
const uint8_t data[] = {0x48, 0x88, 0x28, 0xE8};
#endif
LV_LOG_INFO(TAG, "0x36 command value: 0x%02X", data[orientation]);
LV_LOG_INFO("0x36 command value: 0x%02X", data[orientation]);
st7796s_send_cmd(0x36);
st7796s_send_data((void *)&data[orientation], 1);