mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
igpsport: Fix typo in craftFileData()
This commit is contained in:
committed by
José Rebelo
parent
0e55221684
commit
1d5a59974f
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user