AP_ADC: removed unused setHIL method

This commit is contained in:
Andrew Tridgell 2013-05-02 15:27:16 +10:00
parent bb8f9d5443
commit 90cf1b0386
2 changed files with 0 additions and 27 deletions

View File

@ -66,27 +66,6 @@ uint32_t AP_ADC_HIL::Ch6(const uint8_t *channel_numbers, float *result)
return ret;
}
// Set one channel value
void AP_ADC_HIL::setHIL(int16_t p, int16_t q, int16_t r, int16_t gyroTemp,
int16_t aX, int16_t aY, int16_t aZ, int16_t diffPress)
{
// gyros
setGyro(0,p);
setGyro(1,q);
setGyro(2,r);
// temp
setGyroTemp(gyroTemp);
// accel
setAccel(0,aX);
setAccel(1,aY);
setAccel(2,aZ);
// differential pressure
setPressure(diffPress);
}
// see if new data is available
bool AP_ADC_HIL::new_data_available(const uint8_t *channel_numbers)
{

View File

@ -44,12 +44,6 @@ public:
// Get minimum number of samples read from the sensors
uint16_t num_samples_available(const uint8_t *channel_numbers);
///
// Set the adc raw values given the current rotations rates,
// temps, accels, and pressures
void setHIL(int16_t p, int16_t q, int16_t r, int16_t gyroTemp,
int16_t aX, int16_t aY, int16_t aZ, int16_t diffPress);
private:
///