removed another unnecessary instruction
This commit is contained in:
parent
3fc222ff75
commit
9b4926978e
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ inline void MatrixPanel_I2S_DMA::color565to888(const uint16_t color, uint8_t &r,
|
||||||
{
|
{
|
||||||
r = (color >> 8) & 0xf8;
|
r = (color >> 8) & 0xf8;
|
||||||
g = (color >> 3) & 0xfc;
|
g = (color >> 3) & 0xfc;
|
||||||
b = (color << 3) & 0xf8;
|
b = (color << 3);
|
||||||
r |= r >> 5;
|
r |= r >> 5;
|
||||||
g |= g >> 6;
|
g |= g >> 6;
|
||||||
b |= b >> 5;
|
b |= b >> 5;
|
||||||
|
|
Loading…
Reference in a new issue