igpsport: Fix typo in craftFileData()

This commit is contained in:
Vitaliy Tomin
2026-05-13 23:33:24 +02:00
committed by José Rebelo
parent 0e55221684
commit 1d5a59974f
@@ -278,7 +278,7 @@ public class IGPSportDeviceSupport extends AbstractBTLEDeviceSupport {
result[19] = (byte)CheckSums.getCRC8(header);
ByteBuffer buf = ByteBuffer.wrap(result, 20,4);
buf.putInt(fileData.length);
buf.putInt(data.length);
System.arraycopy(data, 0, result, 24, data.length);
System.arraycopy(fileData, 0, result, 24+data.length, fileData.length);