Searched refs:rgb_adj (Results 1 – 1 of 1) sorted by relevance
38 uint32_t rgb_adj = (rgb_max - rgb_min) * diff / 60; in led_strip_hsv2rgb() local43 *g = rgb_min + rgb_adj; in led_strip_hsv2rgb()47 *r = rgb_max - rgb_adj; in led_strip_hsv2rgb()54 *b = rgb_min + rgb_adj; in led_strip_hsv2rgb()58 *g = rgb_max - rgb_adj; in led_strip_hsv2rgb()62 *r = rgb_min + rgb_adj; in led_strip_hsv2rgb()69 *b = rgb_max - rgb_adj; in led_strip_hsv2rgb()