mirror of https://github.com/ArduPilot/ardupilot
uncrustify libraries/AP_AnalogSource/AP_AnalogSource_Arduino.h
This commit is contained in:
parent
49f440ae3e
commit
9306fc5870
|
@ -12,7 +12,7 @@
|
|||
|
||||
class AP_AnalogSource_Arduino : public AP_AnalogSource
|
||||
{
|
||||
public:
|
||||
public:
|
||||
AP_AnalogSource_Arduino( uint8_t pin, float prescale = 1.0 ) :
|
||||
_prescale(prescale) {
|
||||
assign_pin_index(pin);
|
||||
|
@ -34,7 +34,7 @@ class AP_AnalogSource_Arduino : public AP_AnalogSource
|
|||
// we last called read_average().
|
||||
float read_average(void);
|
||||
|
||||
private:
|
||||
private:
|
||||
uint8_t _pin_index;
|
||||
float _prescale;
|
||||
|
||||
|
|
Loading…
Reference in New Issue