mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +03:00
Fix use of floating point math functions
This commit is contained in:
parent
4c034d67ee
commit
87c259a26e
9 changed files with 20 additions and 19 deletions
|
@ -72,7 +72,7 @@ extern "C" {
|
|||
#include "unittest_macros.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
const float sqrt2over2 = sqrt(2) / 2.0f;
|
||||
const float sqrt2over2 = sqrtf(2) / 2.0f;
|
||||
|
||||
TEST(FlightImuTest, TestCalculateRotationMatrix)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue