mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
param set: fixed float format
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user