summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-12-16 14:05:13 -0600
committerMike Fiore <mfiore@multitech.com>2015-12-16 14:05:13 -0600
commitaf6c72445438eec33d52d6dcdfdd01d92dd5fe6a (patch)
treef9ba5522fdbae3f74e31ed3347ab9a0422c6163e
parent097dbc88bfd6303fbc6b08e95cf49a16936a4d67 (diff)
downloadmtdot-box-evb-factory-firmware-af6c72445438eec33d52d6dcdfdd01d92dd5fe6a.tar.gz
mtdot-box-evb-factory-firmware-af6c72445438eec33d52d6dcdfdd01d92dd5fe6a.tar.bz2
mtdot-box-evb-factory-firmware-af6c72445438eec33d52d6dcdfdd01d92dd5fe6a.zip
fix whitespace in SensorHandler.h
-rw-r--r--SensorHandler/SensorHandler.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/SensorHandler/SensorHandler.h b/SensorHandler/SensorHandler.h
index 01ccf77..719e472 100644
--- a/SensorHandler/SensorHandler.h
+++ b/SensorHandler/SensorHandler.h
@@ -22,32 +22,32 @@
class SensorHandler
{
public:
- enum Scale{CELSIUS, FAHRENHEIT};
- SensorHandler(void);
- ~SensorHandler(void);
- MMA845x_DATA getAcceleration(void);
- float getLight(void);
- uint16_t getLightRaw(void);
- float getPressure(void);
- uint32_t getPressureRaw(void);
- float getTemp(Scale);
- float getAltitude(void);
- MPL3115A2_DATA getBarometer(void);
+ enum Scale{CELSIUS, FAHRENHEIT};
+ SensorHandler(void);
+ ~SensorHandler(void);
+ MMA845x_DATA getAcceleration(void);
+ float getLight(void);
+ uint16_t getLightRaw(void);
+ float getPressure(void);
+ uint32_t getPressureRaw(void);
+ float getTemp(Scale);
+ float getAltitude(void);
+ MPL3115A2_DATA getBarometer(void);
private:
Thread _getSensorThread;
static void startSensorThread (void const *p);
- void readSensors(void);
- void initSensors(void);
- I2C _mDoti2c;
- MMA845x _accelerometer;
- MPL3115A2 _barometricSensor;
- ISL29011 _lightSensor;
- MMA845x_DATA _accelerometerData;
- MPL3115A2_DATA _barometerData;
- uint16_t _light;
- uint32_t _pressure;
- Mutex _mutex;
+ void readSensors(void);
+ void initSensors(void);
+ I2C _mDoti2c;
+ MMA845x _accelerometer;
+ MPL3115A2 _barometricSensor;
+ ISL29011 _lightSensor;
+ MMA845x_DATA _accelerometerData;
+ MPL3115A2_DATA _barometerData;
+ uint16_t _light;
+ uint32_t _pressure;
+ Mutex _mutex;
};
#endif //SENSORHANDLER_H