Fix previous commit (compile!)

here
cpfeiffer 2016-05-31 22:56:22 +02:00
parent 9a106667d2
commit 2e6536555b
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
LOG.info("Attempting to set wear location...");
BluetoothGattCharacteristic characteristic = getCharacteristic(MiBandService.UUID_CHARACTERISTIC_CONTROL_POINT);
if (characteristic != null) {
transaction.add(new ConditionalWriteAction() {
transaction.add(new ConditionalWriteAction(characteristic) {
@Override
protected byte[] checkCondition() {
if (getDeviceInfo() != null && getDeviceInfo().isAmazFit()) {