mirror of https://github.com/ArduPilot/ardupilot
parent
62f98b091f
commit
24a7a18481
|
@ -57,7 +57,7 @@ float swap_float(float f)
|
|||
int i;
|
||||
in.f = f;
|
||||
for (i=0; i<4; i++) {
|
||||
out.b[4-i] = in.b[i];
|
||||
out.b[3-i] = in.b[i];
|
||||
}
|
||||
return out.f;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue