forgotten refactor of a variable
This commit is contained in:
parent
e4076dc725
commit
228e922ce7
|
@ -452,7 +452,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
|||
this.activityDataHolder.put(b);
|
||||
}
|
||||
LOG.info("Buffer remaining bytes: " + this.activityDataHolder.remaining());
|
||||
if (remainingBytes == 0) {
|
||||
if (this.activityDataHolder.remaining() == 0) {
|
||||
consumeActivityDataHolder();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue