From 5ac493908ce6a81558077fe3d191be7d0ed3129f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 May 2013 10:08:39 +1000 Subject: [PATCH] SITL: fixed build with new AnalogIn API --- libraries/AP_HAL_AVR_SITL/AnalogIn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_AVR_SITL/AnalogIn.h b/libraries/AP_HAL_AVR_SITL/AnalogIn.h index b5ebde8692..502e3da707 100644 --- a/libraries/AP_HAL_AVR_SITL/AnalogIn.h +++ b/libraries/AP_HAL_AVR_SITL/AnalogIn.h @@ -19,6 +19,8 @@ public: float read_latest(); void set_pin(uint8_t p); float voltage_average(); + void set_stop_pin(uint8_t pin) {} + void set_settle_time(uint16_t settle_time_ms) {} private: /* prescale scales the raw measurments for read()*/