mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
uncrustify libraries/AP_ADC/AP_ADC_ADS7844.h
This commit is contained in:
parent
149e222e6a
commit
44941072dc
@ -20,21 +20,21 @@
|
|||||||
|
|
||||||
class AP_ADC_ADS7844 : public AP_ADC
|
class AP_ADC_ADS7844 : public AP_ADC
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AP_ADC_ADS7844(); // Constructor
|
AP_ADC_ADS7844(); // Constructor
|
||||||
void Init( AP_PeriodicProcess * scheduler );
|
void Init( AP_PeriodicProcess * scheduler );
|
||||||
|
|
||||||
// Read 1 sensor value
|
// Read 1 sensor value
|
||||||
float Ch(unsigned char ch_num);
|
float Ch(unsigned char ch_num);
|
||||||
|
|
||||||
// Read 6 sensors at once
|
// Read 6 sensors at once
|
||||||
uint32_t Ch6(const uint8_t *channel_numbers, float *result);
|
uint32_t Ch6(const uint8_t *channel_numbers, float *result);
|
||||||
|
|
||||||
// check if Ch6 would block
|
// check if Ch6 would block
|
||||||
bool new_data_available(const uint8_t *channel_numbers);
|
bool new_data_available(const uint8_t *channel_numbers);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static void read(uint32_t);
|
static void read(uint32_t);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user