removed another unnecessary instruction

This commit is contained in:
beta-tester 2023-08-09 07:43:36 +02:00 committed by GitHub
parent 3fc222ff75
commit 9b4926978e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -882,7 +882,7 @@ inline void MatrixPanel_I2S_DMA::color565to888(const uint16_t color, uint8_t &r,
{
r = (color >> 8) & 0xf8;
g = (color >> 3) & 0xfc;
b = (color << 3) & 0xf8;
b = (color << 3);
r |= r >> 5;
g |= g >> 6;
b |= b >> 5;