mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Revert "ADC: fixed HIL build"
This reverts commit 86c1a6a5fdd929516cf0f64f4d610cfcd4b4f774. ADC will now be disabled on APM2
This commit is contained in:
parent
df094ce463
commit
99eafbbe38
@ -49,11 +49,6 @@ 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)
|
||||
{
|
||||
|
@ -37,7 +37,6 @@ 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,
|
||||
|
Loading…
Reference in New Issue
Block a user