mirror of https://github.com/ArduPilot/ardupilot
AP_Param: use %f not %.6f for param show
This commit is contained in:
parent
0d662c52b3
commit
16a7faa223
|
@ -1035,7 +1035,7 @@ void AP_Param::show(const AP_Param *ap, const char *s,
|
||||||
port->printf_P(PSTR("%s: %ld\n"), s, (long)((AP_Int32 *)ap)->get());
|
port->printf_P(PSTR("%s: %ld\n"), s, (long)((AP_Int32 *)ap)->get());
|
||||||
break;
|
break;
|
||||||
case AP_PARAM_FLOAT:
|
case AP_PARAM_FLOAT:
|
||||||
port->printf_P(PSTR("%s: %.6f\n"), s, ((AP_Float *)ap)->get());
|
port->printf_P(PSTR("%s: %f\n"), s, ((AP_Float *)ap)->get());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue