mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 09:53:06 +02:00
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