Forked Changes to Pressure sensor
Dependents: WiFiDipCortexSensor
Fork of MPL3115A2 by
Diff: Altitude.cpp
- Revision:
- 4:23fb1c464583
- Parent:
- 0:beb43bc3d6d4
diff -r 7c7c1ea6fc33 -r 23fb1c464583 Altitude.cpp --- a/Altitude.cpp Wed Apr 02 12:59:44 2014 +0000 +++ b/Altitude.cpp Fri Jun 20 06:49:03 2014 +0000 @@ -52,6 +52,8 @@ { case FEET: return MetersToFeet(_altitude); + case METERS: + return _altitude; } return _altitude;