1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

forgotten refactor of a variable

This commit is contained in:
Daniele Gobbetti 2015-05-24 20:25:34 +02:00 committed by cpfeiffer
parent e4076dc725
commit 228e922ce7

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