mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
uncrustify libraries/AP_AnalogSource/AP_AnalogSource_ADC.h
This commit is contained in:
parent
3c1a4b249a
commit
d7fe646829
@ -7,15 +7,16 @@
|
||||
|
||||
class AP_AnalogSource_ADC : public AP_AnalogSource
|
||||
{
|
||||
public:
|
||||
public:
|
||||
AP_AnalogSource_ADC( AP_ADC * adc, uint8_t ch, float prescale = 1.0 ) :
|
||||
_adc(adc), _ch(ch), _prescale(prescale) {}
|
||||
float read(void);
|
||||
_adc(adc), _ch(ch), _prescale(prescale) {
|
||||
}
|
||||
float read(void);
|
||||
|
||||
private:
|
||||
AP_ADC * _adc;
|
||||
uint8_t _ch;
|
||||
float _prescale;
|
||||
private:
|
||||
AP_ADC * _adc;
|
||||
uint8_t _ch;
|
||||
float _prescale;
|
||||
};
|
||||
|
||||
#endif // __AP_ANALOG_SOURCE_ADC_H__
|
||||
|
Loading…
Reference in New Issue
Block a user