ADC: fixed HIL build

This commit is contained in:
Andrew Tridgell 2011-12-16 20:58:04 +11:00
parent 658d1d2ba3
commit 04ec569313
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,11 @@ float AP_ADC_HIL::Ch(unsigned char ch_num)
return adcValue[ch_num];
}
// enable a channel
void AP_ADC_HIL::enable_channel(uint8_t ch)
{
}
// Read 6 channel values
uint32_t AP_ADC_HIL::Ch6(const uint8_t *channel_numbers, uint16_t *result)
{

View File

@ -37,6 +37,7 @@ class AP_ADC_HIL : public AP_ADC
///
// Read 6 sensors at once
uint32_t Ch6(const uint8_t *channel_numbers, uint16_t *result);
void enable_channel(uint8_t ch);
///
// Set the adc raw values given the current rotations rates,