1
0
mirror of https://github.com/whowechina/popn_pico.git synced 2024-09-23 19:08:26 +02:00

Fixed Logo RGB mapping

This commit is contained in:
whowechina 2022-10-04 20:55:39 +08:00
parent 471a88a7b9
commit bc5f38573e
2 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ static inline uint32_t urgb_u32(uint8_t r, uint8_t g, uint8_t b)
uint32_t r32 = (uint32_t)r * r;
uint32_t g32 = (uint32_t)g * g;
uint32_t b32 = (uint32_t)b * b;
return (b32 >> 8 << 16) | (g32 >> 8 << 8) | (r32 >> 8 << 0);
return (g32 >> 8 << 16) | (r32 >> 8 << 8) | (b32 >> 8 << 0);
}
/* 6 segment regular hsv color wheel, better color cycle

Binary file not shown.