HAL_SMACCM: fixed build for new AnalogIn API

This commit is contained in:
Andrew Tridgell 2013-05-03 10:09:14 +10:00
parent 9bc48c9894
commit 244a10aeb6

View File

@ -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;
};