AP_Airspeed: remove unused _last_pin
Resolves a compiler warning
This commit is contained in:
parent
722095e56d
commit
04b2e65627
@ -12,7 +12,6 @@ public:
|
|||||||
AP_Airspeed_Analog(const AP_Int8 &pin)
|
AP_Airspeed_Analog(const AP_Int8 &pin)
|
||||||
: _source(NULL)
|
: _source(NULL)
|
||||||
, _pin(pin)
|
, _pin(pin)
|
||||||
, _last_pin(-1)
|
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
// probe and initialise the sensor
|
// probe and initialise the sensor
|
||||||
@ -27,5 +26,4 @@ public:
|
|||||||
private:
|
private:
|
||||||
AP_HAL::AnalogSource *_source;
|
AP_HAL::AnalogSource *_source;
|
||||||
const AP_Int8 &_pin;
|
const AP_Int8 &_pin;
|
||||||
int8_t _last_pin;
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user