Removed obsolete resources.

This commit is contained in:
Dennis Guse
2019-07-26 19:01:40 +02:00
parent a6999fe7bd
commit d8a0265ad0
14 changed files with 3 additions and 135 deletions
@@ -12,7 +12,6 @@ public final class BluetoothLEUtils {
byte[] raw = characteristic.getValue();
int index = ((raw[0] & 0x1) == 1) ? 2 : 1;
int format = (index == 1) ? BluetoothGattCharacteristic.FORMAT_UINT8 : BluetoothGattCharacteristic.FORMAT_UINT16;
int heartRate = characteristic.getIntValue(format, index);
return heartRate;
return characteristic.getIntValue(format, index);
}
}