Browse Source

AP_ADC_ADS1115.h: changed member declaration order to resolve compiler warning

No functional change
mission-4.1.18
Randy Mackay 9 years ago
parent
commit
d19c074ba1
  1. 4
      libraries/AP_ADC/AP_ADC_ADS1115.h

4
libraries/AP_ADC/AP_ADC_ADS1115.h

@ -29,13 +29,13 @@ public: @@ -29,13 +29,13 @@ public:
private:
static const uint8_t _channels_number;
AP_HAL::OwnPtr<AP_HAL::I2CDevice> _dev;
uint32_t _last_update_timestamp;
uint16_t _gain;
int _channel_to_read;
adc_report_s *_samples;
AP_HAL::OwnPtr<AP_HAL::I2CDevice> _dev;
void _update();
bool _start_conversion(uint8_t channel);

Loading…
Cancel
Save