Update AnalogIn.cpp

Fixed AnalogIn.cpp:42: undefined references

Full error msgs:
/cygdrive/c/MAVPRO~1/ardupilot/libraries/AP_HAL_Empty/AnalogIn.cpp:42: undefined reference to `Empty::EmptyAnalogSource::set_stop_pin(unsigned char)'
/cygdrive/c/MAVPRO~1/ardupilot/libraries/AP_HAL_Empty/AnalogIn.cpp:42: undefined reference to `Empty::EmptyAnalogSource::set_settle_time(unsigned short)'
This commit is contained in:
phokur 2013-06-26 16:09:42 -04:00 committed by rmackay9
parent f7f575eb58
commit b00e5d95c9

View File

@ -1,4 +1,3 @@
#include "AnalogIn.h"
using namespace Empty;
@ -22,6 +21,11 @@ float EmptyAnalogSource::read_latest() {
void EmptyAnalogSource::set_pin(uint8_t p)
{}
void EmptyAnalogSource::set_stop_pin(uint8_t p)
{}
void EmptyAnalogSource::set_settle_time(uint16_t settle_time_ms)
{}
EmptyAnalogIn::EmptyAnalogIn()
{}