forked from upstream-mirrors/OpenTracks
Removed obsolete resources.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user