mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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)
|
||||
: _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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user