From fce77b367a83eb5767e06a7274c67cb176792557 Mon Sep 17 00:00:00 2001 From: uncrustify Date: Thu, 16 Aug 2012 23:21:04 -0700 Subject: [PATCH] uncrustify libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h --- .../AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h index c0b75fd766..eced5050f0 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h +++ b/libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarXL.h @@ -29,12 +29,14 @@ class AP_RangeFinder_MaxsonarXL : public RangeFinder { - public: - AP_RangeFinder_MaxsonarXL(AP_AnalogSource *source, FilterInt16 *filter); - int convert_raw_to_distance(int _raw_value) { return _raw_value * _scaler; } // read value from analog port and return distance in cm - float calculate_scaler(int sonar_type, float adc_refence_voltage); +public: + AP_RangeFinder_MaxsonarXL(AP_AnalogSource *source, FilterInt16 *filter); + int convert_raw_to_distance(int _raw_value) { + return _raw_value * _scaler; + } // read value from analog port and return distance in cm + float calculate_scaler(int sonar_type, float adc_refence_voltage); - private: - float _scaler; // used to account for different sonar types +private: + float _scaler; // used to account for different sonar types }; #endif