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:
Andrew Tridgell 2012-08-18 16:32:06 +10:00
parent 0dc3b23b59
commit 7d8903a8bf
2 changed files with 0 additions and 6 deletions

View File

@ -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()

View File

@ -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__