lcd_i2c: reduce recommended link size

Closes: https://github.com/espressif/esp-idf/issues/11015
This commit is contained in:
laokaiyao 2023-03-29 19:02:05 +08:00
parent ef4b1b7704
commit 3c4c1fe010

View File

@ -22,7 +22,7 @@
static const char *TAG = "lcd_panel.io.i2c";
#define CMD_HANDLER_BUFFER_SIZE I2C_LINK_RECOMMENDED_SIZE(7) // only 7 operations will be queued in the handler ATTOW
#define CMD_HANDLER_BUFFER_SIZE I2C_LINK_RECOMMENDED_SIZE(2) // only 2 operations will be queued in the handler ATTOW
#define BYTESHIFT(VAR, IDX) (((VAR) >> ((IDX) * 8)) & 0xFF)
static esp_err_t panel_io_i2c_del(esp_lcd_panel_io_t *io);