HAL_PX4: fixed build with new AnalogIn API

pin settle times not actually implemented on PX4 yet
This commit is contained in:
Andrew Tridgell 2013-05-03 10:09:02 +10:00
parent 5ac493908c
commit 9bc48c9894

View File

@ -27,6 +27,10 @@ public:
void set_pin(uint8_t p);
float voltage_average();
// stop pins not implemented on PX4 yet
void set_stop_pin(uint8_t p) {}
void set_settle_time(uint16_t settle_time_ms) {}
private:
// what pin it is attached to
int16_t _pin;