forked from Archive/PX4-Autopilot
param set: fixed float format
This commit is contained in:
parent
83df116c7a
commit
7d17a48b3c
|
@ -320,7 +320,7 @@ do_set(const char* name, const char* val)
|
||||||
char* end;
|
char* end;
|
||||||
f = strtod(val,&end);
|
f = strtod(val,&end);
|
||||||
param_set(param, &f);
|
param_set(param, &f);
|
||||||
printf(" -> new: %f\n", f);
|
printf(" -> new: %4.4f\n", (double)f);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue