Merge pull request #624 from PX4/param_set_fix

param set: fixed float format
This commit is contained in:
Lorenz Meier 2014-01-31 12:22:43 -08:00
commit 028aa918bc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}