forked from Archive/PX4-Autopilot
fixed double promotion warning when doing printf
This commit is contained in:
parent
043bb1ffe5
commit
a4726292b2
|
@ -353,7 +353,7 @@ public:
|
||||||
printf("[ ");
|
printf("[ ");
|
||||||
|
|
||||||
for (unsigned int i = 0; i < N; i++)
|
for (unsigned int i = 0; i < N; i++)
|
||||||
printf("%.3f\t", data[i]);
|
printf("%.3f\t", (double)data[i]);
|
||||||
|
|
||||||
printf("]\n");
|
printf("]\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue