From c1f51dfdf696a98c6ee7e882485bc5e969ea3dab Mon Sep 17 00:00:00 2001 From: laokaiyao Date: Wed, 29 Mar 2023 19:02:05 +0800 Subject: [PATCH] lcd_i2c: reduce recommended link size Closes: https://github.com/espressif/esp-idf/issues/11015 --- components/esp_lcd/src/esp_lcd_panel_io_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_lcd/src/esp_lcd_panel_io_i2c.c b/components/esp_lcd/src/esp_lcd_panel_io_i2c.c index c8911b7e0bd2..5f04d27121c9 100644 --- a/components/esp_lcd/src/esp_lcd_panel_io_i2c.c +++ b/components/esp_lcd/src/esp_lcd_panel_io_i2c.c @@ -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);