AP_ADC: fix compile warning re member init order

This commit is contained in:
Tom Pittenger 2015-04-24 14:13:14 +09:00 committed by Randy Mackay
parent 4191c44bbd
commit 52474faa2e
1 changed files with 2 additions and 1 deletions

View File

@ -30,12 +30,13 @@ public:
private:
static const uint8_t _channels_number;
AP_HAL::Semaphore* _i2c_sem;
uint32_t _last_update_timestamp;
uint16_t _gain;
int _channel_to_read;
adc_report_s *_samples;
AP_HAL::Semaphore* _i2c_sem;
void _update();
bool _start_conversion(uint8_t channel);