mirror of https://github.com/ArduPilot/ardupilot
AP_ADC: fix compile warning re member init order
This commit is contained in:
parent
4191c44bbd
commit
52474faa2e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue