| 281 | } |
| 282 | |
| 283 | inline CRGB16 promote_rgb_to_hd(const CRGB &rgb) { |
| 284 | return CRGB16(u8x8::from_raw(promote_channel_to_hd(rgb.red)), |
| 285 | u8x8::from_raw(promote_channel_to_hd(rgb.green)), |
| 286 | u8x8::from_raw(promote_channel_to_hd(rgb.blue))); |
| 287 | } |
| 288 | |
| 289 | inline fl::u16 scale_hd_channel(fl::u16 channel, fl::u8x8 scale) { |
| 290 | const fl::u32 scaled = |
no test coverage detected