mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_Baro: the HIL baro needs to inherit calibrate() from the parent class
this was what caused the renorm errors
This commit is contained in:
parent
0dc3b23b59
commit
7d8903a8bf
@ -16,11 +16,6 @@ bool AP_Baro_BMP085_HIL::init(AP_PeriodicProcess * scheduler)
|
||||
return true;
|
||||
}
|
||||
|
||||
void AP_Baro_BMP085_HIL::calibrate(void (*callback)(unsigned long t))
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
// Read the sensor. This is a state machine
|
||||
// We read one time Temperature (state = 1) and then 4 times Pressure (states 2-5)
|
||||
uint8_t AP_Baro_BMP085_HIL::read()
|
||||
|
@ -25,7 +25,6 @@ public:
|
||||
int32_t get_raw_pressure();
|
||||
int32_t get_raw_temp();
|
||||
void setHIL(float Temp, float Press);
|
||||
void calibrate(void (*callback)(unsigned long t));
|
||||
};
|
||||
|
||||
#endif // __AP_BARO_BMP085_HIL_H__
|
||||
|
Loading…
Reference in New Issue
Block a user