mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/color/color.c: Fix a typo
This commit is contained in:
parent
334f828599
commit
da81720d80
@ -51,7 +51,7 @@ void color_rgb2hsv(color_rgb_t *rgb, color_hsv_t *hsv)
|
||||
}
|
||||
|
||||
/* find the saturation from value and delta */
|
||||
hsv->s = (hsv->v != 0.0f) ? (delta / hsv->v) : 0x0f;
|
||||
hsv->s = (hsv->v != 0.0f) ? (delta / hsv->v) : 0.0f;
|
||||
|
||||
/* compute hue */
|
||||
hsv->h = 0.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user