Fixed issue with O2sat data not being recorded to data sharing database - V4.0.6
This commit is contained in:
@@ -272,7 +272,7 @@ public abstract class SdDataSource {
|
||||
mSdData.mHR = -1;
|
||||
}
|
||||
try {
|
||||
mSdData.mO2Sat = dataObject.getDouble("O2Sat");
|
||||
mSdData.mO2Sat = dataObject.getDouble("O2sat");
|
||||
} catch (JSONException e) {
|
||||
// if we get 'null' O2 Saturation (For example if the oxygen sensor is not working)
|
||||
mSdData.mO2Sat = -1;
|
||||
|
||||
Reference in New Issue
Block a user