From b6191578dcdbfbaa0ca27a8d5f9f140a4859b1ef Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 28 Feb 2018 16:22:50 +1100 Subject: [PATCH] AP_ADC: correct compilter warnings ../../libraries/AP_ADC/AP_ADC_ADS1115.h:34:25: warning: private field '_last_update_timestamp' is not used [-Wunused-private-field] uint32_t _last_update_timestamp; ^ 1 warning generated. --- libraries/AP_ADC/AP_ADC_ADS1115.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_ADC/AP_ADC_ADS1115.h b/libraries/AP_ADC/AP_ADC_ADS1115.h index 98e6544875..5eca42666b 100644 --- a/libraries/AP_ADC/AP_ADC_ADS1115.h +++ b/libraries/AP_ADC/AP_ADC_ADS1115.h @@ -31,7 +31,6 @@ private: AP_HAL::OwnPtr _dev; - uint32_t _last_update_timestamp; uint16_t _gain; int _channel_to_read; adc_report_s *_samples;