From 2879642f0a4eabae1c0741df55dbb9d26dad8133 Mon Sep 17 00:00:00 2001 From: ctzsnooze Date: Tue, 13 Sep 2022 19:21:32 +1000 Subject: [PATCH] Update flight_imu_unittest.cc --- src/test/unit/flight_imu_unittest.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/unit/flight_imu_unittest.cc b/src/test/unit/flight_imu_unittest.cc index 2d7b1fb17..c901df0fb 100644 --- a/src/test/unit/flight_imu_unittest.cc +++ b/src/test/unit/flight_imu_unittest.cc @@ -256,6 +256,7 @@ extern "C" { float gyroGetFilteredDownsampled(int) { return 0.0f; } float baroUpsampleAltitude() { return 0.0f; } float pt2FilterGain(float, float) { return 0.0f; } + float getBaroAltitude(void) { return 3000.0f; } void pt2FilterInit(pt2Filter_t *baroDerivativeLpf, float) { UNUSED(baroDerivativeLpf); -- 2.11.4.GIT