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