|
|
|
@ -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); |
|
|
|
|
|
|
|
|
|