Browse Source

HAL_PX4: fixed build with new AnalogIn API

pin settle times not actually implemented on PX4 yet
mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
9bc48c9894
  1. 4
      libraries/AP_HAL_PX4/AnalogIn.h

4
libraries/AP_HAL_PX4/AnalogIn.h

@ -27,6 +27,10 @@ public: @@ -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;

Loading…
Cancel
Save