mirror of
https://github.com/whowechina/popn_pico.git
synced 2025-02-17 11:08:37 +01:00
Fixed Logo RGB mapping
This commit is contained in:
parent
471a88a7b9
commit
bc5f38573e
@ -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.
Loading…
x
Reference in New Issue
Block a user