Browse Source

SITL: fixed build with new AnalogIn API

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
5ac493908c
  1. 2
      libraries/AP_HAL_AVR_SITL/AnalogIn.h

2
libraries/AP_HAL_AVR_SITL/AnalogIn.h

@ -19,6 +19,8 @@ public: @@ -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()*/

Loading…
Cancel
Save