1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 02:25:50 +01:00

CMF Watch Pro: Fix chunked packet handling

This commit is contained in:
José Rebelo 2024-07-20 12:16:04 +01:00
parent 99e843606c
commit 02c2fe43de

View File

@ -256,6 +256,7 @@ public class CmfCharacteristic {
buffer = Objects.requireNonNull(chunkBuffers.get(cmd));
} else {
buffer = new ChunkBuffer();
chunkBuffers.put(cmd, buffer);
}
if (chunkIndex != buffer.expectedChunk) {