Fixed types

This commit is contained in:
cfr34k 2018-08-04 22:35:42 +00:00
parent 7ca06eecd6
commit fc7173afff

View file

@ -89,7 +89,7 @@ void fader_set_fadestep(struct fader_ctx *ctx, uint8_t newFadestep)
* \param target The target value that should be reached.
* \param changed Output value which is set to 1 if cur was changed.
*/
void fade_colour(struct fader_ctx *ctx, float *cur, const float *target, int *changed)
void fade_colour(struct fader_ctx *ctx, float *cur, const float *target, uint8_t *changed)
{
float diff;
if(*cur > *target) {