1
0
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:
Pekka Nikander 2018-09-15 08:52:00 +03:00
parent 334f828599
commit da81720d80

View File

@ -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;