diff --git a/flight/tests/math/coordinateconversiontest.cpp b/flight/tests/math/coordinateconversiontest.cpp index 168de169a2..6034e2eaa1 100644 --- a/flight/tests/math/coordinateconversiontest.cpp +++ b/flight/tests/math/coordinateconversiontest.cpp @@ -4,6 +4,7 @@ #include /* printf */ #include /* abort */ #include /* memset */ +#include extern "C" { #include @@ -37,7 +38,7 @@ TEST_F(CoordinateConversionsTestRaw, LLA2ECEF) { int32_t LLAi[3] = { 419291818, 125571688, - 50 * 1e4 + 500000 }; int32_t LLAfromECEF[3]; @@ -56,14 +57,14 @@ TEST_F(CoordinateConversionsTestRaw, LLA2NED) { int32_t LLAi[3] = { 419291818, 125571688, - 50 * 1e4 + 50000 }; int32_t LLAfromNED[3]; int32_t HomeLLAi[3] = { 419291600, 125571300, - 24 * 1e4 + 24000 }; float Rne[3][3];