AP_Airspeed: remove unused _last_pin

Resolves a compiler warning
This commit is contained in:
Randy Mackay 2016-04-23 09:12:52 +09:00 committed by Tom Pittenger
parent 722095e56d
commit 04b2e65627
1 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@ public:
AP_Airspeed_Analog(const AP_Int8 &pin)
: _source(NULL)
, _pin(pin)
, _last_pin(-1)
{ }
// probe and initialise the sensor
@ -27,5 +26,4 @@ public:
private:
AP_HAL::AnalogSource *_source;
const AP_Int8 &_pin;
int8_t _last_pin;
};