Skip to content

Commit

Permalink
lcd_i2c: reduce recommended link size
Browse files Browse the repository at this point in the history
Closes: #11015
  • Loading branch information
L-KAYA committed Mar 29, 2023
1 parent 6e1d60e commit c1f51df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_lcd/src/esp_lcd_panel_io_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c1f51df

Please sign in to comment.