1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 02:46:50 +01:00

Fix some static analysis warnings

This commit is contained in:
cpfeiffer 2018-09-16 13:59:16 +02:00
parent c1de677448
commit 8c1a1861e4

View File

@ -71,7 +71,7 @@ public class HeartRateProfile<T extends AbstractBTLEDeviceSupport> extends Abstr
format = BluetoothGattCharacteristic.FORMAT_UINT8; format = BluetoothGattCharacteristic.FORMAT_UINT8;
} }
final int heartRate = characteristic.getIntValue(format, 1); final int heartRate = characteristic.getIntValue(format, 1);
LOG.info("Heart rate: " + heartRate, Toast.LENGTH_LONG, GB.INFO); LOG.info("Heart rate: " + heartRate);
} }
return false; return false;
} }