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

@ -16,8 +16,6 @@
/*********************
* DEFINES
*********************/
#define TAG "ILI9163C: "
// ILI9163C specific commands used in init
#define ILI9163C_NOP 0x00
#define ILI9163C_SWRESET 0x01
@ -108,7 +106,7 @@ static void ili9163c_reset(void);
void ili9163c_init(void)
{
LV_LOG_INFO(TAG, "Init");
LV_LOG_INFO("Init");
lcd_init_cmd_t ili_init_cmds[] = {
{ILI9163C_SWRESET, {0}, 0x80}, // Software reset, 0 args, w/delay 120ms
@ -228,7 +226,7 @@ static void ili9163c_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]);
uint8_t data[] = {0x48, 0x88, 0xA8, 0x68};