Fixed types
This commit is contained in:
parent
7ca06eecd6
commit
fc7173afff
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue