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:
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
Block a user