From 85ce10adfde19769a2073757b1f18f2b8fb47ed9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 11 May 2019 20:59:59 +1000 Subject: [PATCH] AP_Math: fixed test build --- libraries/AP_Math/tests/test_math.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Math/tests/test_math.cpp b/libraries/AP_Math/tests/test_math.cpp index 9ade868917..e9b5ed0298 100644 --- a/libraries/AP_Math/tests/test_math.cpp +++ b/libraries/AP_Math/tests/test_math.cpp @@ -8,6 +8,8 @@ #include +const AP_HAL::HAL& hal = AP_HAL::get_HAL(); + #define SQRT_2 1.4142135623730951f TEST(VectorTest, Rotations)