diff --git a/radio/src/tests/frsky.cpp b/radio/src/tests/frsky.cpp index 9e4ba00c8..0c5f2263f 100644 --- a/radio/src/tests/frsky.cpp +++ b/radio/src/tests/frsky.cpp @@ -44,7 +44,7 @@ TEST(FrSky, TelemetryValueWithMinAveraging) uint8_t expected[] = { 10, 12, 17, 25, 35, 45, 55, 65, 75, 85, 92, 97, 100, 100, 100, 100, 100}; int testPos = 0; //test of averaging - TelemetryValueWithMin testVal; + TelemetryMinDecorator> testVal; testVal.value = 0; testVal.set(10); EXPECT_EQ(RAW_FRSKY_MINMAX(testVal), 10);