mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin protocol: fix invalid signed int base type value
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import java.nio.ByteBuffer;
|
||||
//see https://github.com/dtcooper/python-fitparse/blob/master/fitparse/records.py
|
||||
public enum BaseType {
|
||||
ENUM(0x00, new BaseTypeByte(true, 0xFF)),
|
||||
SINT8(0x01, new BaseTypeByte(false, 0xFF)),
|
||||
SINT8(0x01, new BaseTypeByte(false, 0x7F)),
|
||||
UINT8(0x02, new BaseTypeByte(true, 0xFF)),
|
||||
SINT16(0x83, new BaseTypeShort(false, 0x7FFF)),
|
||||
UINT16(0x84, new BaseTypeShort(true, 0xFFFF)),
|
||||
|
||||
Reference in New Issue
Block a user