Updated MS5837 Library to add support for the MS5837_30BA Sensor.

Dependents:   AUV_depth_sensor_072319

Revision:
2:365c8caabc0e
Parent:
1:ee71a13b8e68
Child:
3:128270625e55
--- a/MS5837.cpp	Tue Jul 17 16:11:48 2018 +0000
+++ b/MS5837.cpp	Tue Jul 17 16:35:51 2018 +0000
@@ -114,10 +114,10 @@
     SENS2 = SENS-SENSi;
     
     temp = (temp-Ti);
-    press = (((D1*SENS2)/2097152l-OFF2)/32768l)/100;
+    press = (((D1*SENS2)/2097152l-OFF2)/32768l);
     
     T_MS5837 = (float) temp / 100.0f;                 // result of temperature in deg C in this var
-    P_MS5837 = (float) press / 1.00f;                 // result of pressure in mBar in this var
+    P_MS5837 = (float) press / 100.0f;                 // result of pressure in mBar in this var
     
 }