Minor fix in CGMS

This commit is contained in:
Aleksander Nowakowski
2018-04-25 09:52:41 +02:00
parent db3e4c8cd7
commit 92fe6cb5fb

View File

@@ -271,8 +271,7 @@ public class CGMSManager extends BatteryManager<CGMSManagerCallbacks> {
mCGMSpecificOpsControlPointCharacteristic = service.getCharacteristic(CGM_OPS_CONTROL_POINT_UUID);
mRecordAccessControlPointCharacteristic = service.getCharacteristic(RACP_UUID);
}
return mCGMFeatureCharacteristic != null && mCGMMeasurementCharacteristic != null &&
mCGMSpecificOpsControlPointCharacteristic != null && mRecordAccessControlPointCharacteristic != null;
return mCGMMeasurementCharacteristic != null && mCGMSpecificOpsControlPointCharacteristic != null && mRecordAccessControlPointCharacteristic != null;
}
@Override