fix display rgb order (#158)

This commit is contained in:
Forairaaaaa
2025-02-14 14:00:42 +08:00
committed by GitHub
parent af79b70fb5
commit f183b881b7

View File

@@ -167,7 +167,7 @@ private:
};
esp_lcd_panel_dev_config_t panel_config = {};
panel_config.reset_gpio_num = GPIO_NUM_34; // Set to -1 if not use
panel_config.rgb_endian = LCD_RGB_ENDIAN_RGB;
panel_config.rgb_endian = LCD_RGB_ENDIAN_BGR;
panel_config.bits_per_pixel = 16; // Implemented by LCD command `3Ah` (16/18)
panel_config.vendor_config = &gc9107_vendor_config;