forgotten refactor of a variable

live-sensor-data
Daniele Gobbetti 2015-05-24 20:25:34 +02:00 committed by cpfeiffer
parent e4076dc725
commit 228e922ce7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}