mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 20:51:41 +00:00 
			
		
		
		
	lcd_i2c: reduce recommended link size
Closes: https://github.com/espressif/esp-idf/issues/11015
This commit is contained in:
		| @@ -22,7 +22,7 @@ | |||||||
|  |  | ||||||
| static const char *TAG = "lcd_panel.io.i2c"; | 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) | #define BYTESHIFT(VAR, IDX) (((VAR) >> ((IDX) * 8)) & 0xFF) | ||||||
|  |  | ||||||
| static esp_err_t panel_io_i2c_del(esp_lcd_panel_io_t *io); | static esp_err_t panel_io_i2c_del(esp_lcd_panel_io_t *io); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 laokaiyao
					laokaiyao