mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
Fixed flight_imu_test after including maths.
This commit is contained in:
parent
d6b08f22c1
commit
80b78fd808
2 changed files with 1 additions and 10 deletions
|
@ -149,6 +149,7 @@ flight_imu_unittest : \
|
||||||
$(OBJECT_DIR)/flight/imu.o \
|
$(OBJECT_DIR)/flight/imu.o \
|
||||||
$(OBJECT_DIR)/flight/altitudehold.o \
|
$(OBJECT_DIR)/flight/altitudehold.o \
|
||||||
$(OBJECT_DIR)/flight_imu_unittest.o \
|
$(OBJECT_DIR)/flight_imu_unittest.o \
|
||||||
|
$(OBJECT_DIR)/common/maths.o \
|
||||||
$(OBJECT_DIR)/gtest_main.a
|
$(OBJECT_DIR)/gtest_main.a
|
||||||
|
|
||||||
$(CXX) $(CXX_FLAGS) -lpthread $^ -o $(OBJECT_DIR)/$@
|
$(CXX) $(CXX_FLAGS) -lpthread $^ -o $(OBJECT_DIR)/$@
|
||||||
|
|
|
@ -85,18 +85,8 @@ void updateAccelerationReadings(rollAndPitchTrims_t *rollAndPitchTrims)
|
||||||
UNUSED(rollAndPitchTrims);
|
UNUSED(rollAndPitchTrims);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t applyDeadband(int32_t, int32_t) { return 0; }
|
|
||||||
|
|
||||||
uint32_t micros(void) { return 0; }
|
uint32_t micros(void) { return 0; }
|
||||||
bool isBaroCalibrationComplete(void) { return true; }
|
bool isBaroCalibrationComplete(void) { return true; }
|
||||||
void performBaroCalibrationCycle(void) {}
|
void performBaroCalibrationCycle(void) {}
|
||||||
int32_t baroCalculateAltitude(void) { return 0; }
|
int32_t baroCalculateAltitude(void) { return 0; }
|
||||||
int constrain(int amt, int low, int high)
|
|
||||||
{
|
|
||||||
UNUSED(amt);
|
|
||||||
UNUSED(low);
|
|
||||||
UNUSED(high);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue