From 244a10aeb65e10f592ecbebdf01b465c4feea038 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 3 May 2013 10:09:14 +1000 Subject: [PATCH] HAL_SMACCM: fixed build for new AnalogIn API --- libraries/AP_HAL_SMACCM/AnalogIn.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_SMACCM/AnalogIn.h b/libraries/AP_HAL_SMACCM/AnalogIn.h index 090bd9b097..8af8fbf331 100644 --- a/libraries/AP_HAL_SMACCM/AnalogIn.h +++ b/libraries/AP_HAL_SMACCM/AnalogIn.h @@ -11,6 +11,9 @@ public: float read_latest(); void set_pin(uint8_t p); float voltage_average(); + void set_stop_pin(uint8_t p) {} + void set_settle_time(uint16_t settle_time_ms) {} + private: float _v; };