forked from Archive/PX4-Autopilot
param.c fix style
This commit is contained in:
parent
3c2bd4f6dd
commit
b8b855f2aa
|
@ -543,7 +543,7 @@ param_set_internal(param_t param, const void *val, bool mark_saved, bool notify_
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PARAM_TYPE_FLOAT:
|
case PARAM_TYPE_FLOAT:
|
||||||
params_changed = fabsf(s->val.f - *(float *)val) > FLT_EPSILON;
|
params_changed = fabsf(s->val.f - * (float *)val) > FLT_EPSILON;
|
||||||
s->val.f = *(float *)val;
|
s->val.f = *(float *)val;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue